26 Reserve(size_vert, size_norm, size_idx);
51 auto append = [&](
void *buf,
int len) {
52 if (off + len > maxlen)
53 throw eh +
"output buffer does not have enough memory";
54 memcpy(msg + off, buf, len);
79 for (
int i = 0; i < 16; ++i) {
REveException Exception-type thrown by Eve classes.
std::vector< float > fNormalBuffer
void Reserve(int size_vert=0, int size_norm=0, int size_idx=0)
Reserve place for render data.
int Write(char *msg, int maxlen)
Write render data to binary buffer.
std::vector< int > fIndexBuffer
std::vector< float > fVertexBuffer
void SetMatrix(const double *arr)
Set transformation matrix.
std::vector< float > fMatrix