a geometric object
More...
#include <gobjects.hpp>
|
std::string | name |
| object name ("cube", etc.)
|
|
uint32_t | nVerts |
| the number of vertices in this group.
|
|
uint32_t | nIndices |
| the number of indices (3 * number of triangles)
|
|
glm::vec3 * | verts |
| array of nVerts vertex coordinates
|
|
glm::vec3 * | norms |
| array of nVerts normal vectors (or nullptr)
|
|
glm::vec2 * | txtCoords |
| array of nVerts texture coordinates (or nullptr)
|
|
uint32_t * | indices |
|
◆ Obj() [1/6]
cs237::gobj::Obj::Obj |
( |
| ) |
|
|
inline |
◆ Obj() [2/6]
cs237::gobj::Obj::Obj |
( |
Obj & | | ) |
|
|
delete |
◆ Obj() [3/6]
cs237::gobj::Obj::Obj |
( |
Obj const & | | ) |
|
|
delete |
◆ Obj() [4/6]
cs237::gobj::Obj::Obj |
( |
Obj && | | ) |
|
|
delete |
◆ Obj() [5/6]
cs237::gobj::Obj::Obj |
( |
std::string_view | s | ) |
|
|
inline |
◆ Obj() [6/6]
cs237::gobj::Obj::Obj |
( |
std::string_view | s, |
|
|
uint32_t | nv, |
|
|
uint32_t | ni ) |
|
inline |
◆ ~Obj()
cs237::gobj::Obj::~Obj |
( |
| ) |
|
|
inline |
◆ indices
uint32_t* cs237::gobj::Obj::indices |
array of nIndices element indices that can be used to render the group
◆ name
std::string cs237::gobj::Obj::name |
object name ("cube", etc.)
◆ nIndices
uint32_t cs237::gobj::Obj::nIndices |
the number of indices (3 * number of triangles)
◆ norms
glm::vec3* cs237::gobj::Obj::norms |
array of nVerts normal vectors (or nullptr)
◆ nVerts
uint32_t cs237::gobj::Obj::nVerts |
the number of vertices in this group.
◆ txtCoords
glm::vec2* cs237::gobj::Obj::txtCoords |
array of nVerts texture coordinates (or nullptr)
◆ verts
glm::vec3* cs237::gobj::Obj::verts |
array of nVerts vertex coordinates
The documentation for this struct was generated from the following file:
- /Users/jhr/Classes/23700/f2024/cs237-upstream/cs237-library/include/cs237/gobjects.hpp