![]() |
CMSC23700 Common Code Library
Support code for CS23700 programming projects
|
A spherical mesh. More...
#include <cs237-sphere.hxx>
Public Member Functions | |
Sphere (float radius=1.0f) | |
~Sphere () | |
Public Attributes | |
int | numTris |
number of triangles in the sphere mesh More... | |
int | numVerts |
number of vertices and vertex normals in the mesh More... | |
unsigned short * | tris |
array of 3*numTris triangle indices More... | |
vec3f * | verts |
array of numVerts vertices More... | |
vec3f * | norms |
array of numVerts vertex normals More... | |
A spherical mesh.
cs237::Sphere::Sphere | ( | float | radius = 1.0f | ) |
cs237::Sphere::~Sphere | ( | ) |
vec3f* cs237::Sphere::norms |
array of numVerts vertex normals
int cs237::Sphere::numTris |
number of triangles in the sphere mesh
int cs237::Sphere::numVerts |
number of vertices and vertex normals in the mesh
unsigned short* cs237::Sphere::tris |
array of 3*numTris triangle indices
vec3f* cs237::Sphere::verts |
array of numVerts vertices