kick
Public Member Functions | Public Attributes
kick::ObjInterleavedData Struct Reference

List of all members.

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< ObjInterleavedIndexindices
bool includeTextureCoordinates = true
bool includeNormals = true
int vertexPositionSize = 3
int texCoordinateSize = 2
int vertexLength
const int vertexPosOffset = 0
int textureOffset = 0
int normalsOffset = 0

Detailed Description

Definition at line 21 of file obj_interleaved_data.h.


The documentation for this struct was generated from the following files:
 All Classes Functions Variables