kick
|
Public Member Functions | |
ObjInterleavedData (ObjData &objData, bool includeTextureCoordinates=true, bool includeNormals=true, int vertexPositionSize=3, int texCoordinateSize=2) | |
int | vertexCount () |
glm::vec4 | vertex (int index) |
void | setVertex (int index, glm::vec4 value) |
glm::vec3 | textureCoordinate (int index) |
void | setTextureCoordinate (int index, glm::vec3 value) |
glm::vec3 | normal (int index) |
void | setNormal (int index, glm::vec3 value) |
Public Attributes | |
std::vector< float > | interleavedData |
std::vector< ObjInterleavedIndex > | indices |
bool | includeTextureCoordinates = true |
bool | includeNormals = true |
int | vertexPositionSize = 3 |
int | texCoordinateSize = 2 |
int | vertexLength |
const int | vertexPosOffset = 0 |
int | textureOffset = 0 |
int | normalsOffset = 0 |
Definition at line 21 of file obj_interleaved_data.h.