DooVR
Public Member Functions | List of all members
Sphere Class Reference
Inheritance diagram for Sphere:
Entity

Public Member Functions

 Sphere (glm::vec3 _pos, float _rad)
 
void createSphere (float radius, int segments)
 
void render ()
 
float getRadius ()
 
- Public Member Functions inherited from Entity
char getOtype ()
 
glm::vec3 getColor ()
 
float getColorR ()
 
float getColorG ()
 
float getColorB ()
 
float * getPosition ()
 
void setPosition (float *p)
 
float * getOrientation ()
 
void setOrientation (float *o)
 

Additional Inherited Members

- Protected Attributes inherited from Entity
char oType
 
float position [3]
 
float orientation [16]
 
glm::vec3 color
 

The documentation for this class was generated from the following files: