unsigned short * getSphereIndices(int *n_indices)
Returns sphere indices.
int sphere_normal_data_size
float * getSphereNormalData(int *normal_data_size)
Returns normal coordinates.
float * getSphereTexcoords(int *texcoords_size)
Returns texture coordinates.
int sphere_texcoords_size
int sphere_vertex_data_size
SolidSphere(const float radius, const unsigned int rings, const unsigned int sectors)
Solid sphere constructor. It generates vertex position, normals and texture coordinates data based on...
float * getSphereVertexData(int *vertex_data_size)
Returns sphere vertices.
unsigned short * sphere_indices