case color: glColorPointer(n, type, stride, pointer); break;
}
}
+
+ void useVertTrans(uint count, int n, int type, uint stride, void * pointer)
+ {
+ if(curArrayBuffer != ((this != null) ? buffer : 0))
+ GLBindBuffer(GL_ARRAY_BUFFER, ((this != null) ? buffer : 0));
+ if(type == GL_INT)
+ glVertexPointeri(n, stride, pointer, count);
+ else if(type == GL_DOUBLE)
+ glVertexPointerd(n, stride, pointer, count);
+ }
};
static uint curElementBuffer;