![]() |
CMSC23700 Common Code Library
Support code for CS23700 programming projects
|
A mesh that corresponds to a group in the obj file. More...
#include <obj.hxx>
Public Attributes | |
std::string | name |
name of this group */ More... | |
int | material |
index to material for group (-1 for no material) More... | |
uint32_t | nVerts |
the number of vertices in this group. More... | |
uint32_t | nIndices |
the number of indices (3 * number of triangles) More... | |
cs237::vec3f * | verts |
array of nVerts texture coordinates (or nullptr) More... | |
cs237::vec3f * | norms |
array of nVerts texture coordinates (or nullptr) More... | |
cs237::vec2f * | txtCoords |
array of nVerts texture coordinates (or nullptr) More... | |
uint32_t * | indices |
A mesh that corresponds to a group in the obj file.
uint32_t* OBJ::Group::indices |
array of nIndices element indices that can be used
int OBJ::Group::material |
index to material for group (-1 for no material)
std::string OBJ::Group::name |
name of this group */
uint32_t OBJ::Group::nIndices |
the number of indices (3 * number of triangles)
cs237::vec3f* OBJ::Group::norms |
array of nVerts texture coordinates (or nullptr)
uint32_t OBJ::Group::nVerts |
the number of vertices in this group.
cs237::vec2f* OBJ::Group::txtCoords |
array of nVerts texture coordinates (or nullptr)
cs237::vec3f* OBJ::Group::verts |
array of nVerts texture coordinates (or nullptr)