|
| Energy (glm::mat4 &model_matrix, std::vector< Mesh * > m, unsigned int pts) |
|
virtual void | update (float delta_t) |
|
| Item (glm::mat4 &model_matrix, std::vector< Mesh * > m, unsigned int pts) |
|
void | setSlope (glm::vec3 &g) |
|
| Geometry (glm::mat4 &model_matrix, std::vector< Mesh * > m) |
|
int | draw (const CutawaySurface *c, ViewFrustum &frust, glm::mat4 &vp, glm::vec3 cam, bool useViewFrustumCulling, float clip) |
|
void | draw () |
|
virtual void | addChild (Geometry *g) |
|
virtual void | setShader (Shader *shader) |
|
virtual void | transformModelMatrix (glm::mat4 &transform) |
|
virtual void | init (std::vector< std::shared_ptr< PointLight >> *allLights, glm::vec2 dim) |
|
virtual void | setViewProj (glm::mat4 &vpm) |
|
virtual void | setCameraLoc (glm::vec3 loc) |
|
virtual void | renderToZBuffer (ZBufferShader *z, glm::mat4 &vp) |
|
| SceneObject (glm::mat4 &model_matrix) |
|
glm::vec3 | location () |
|
|
unsigned int | points |
|
std::vector< Mesh * > | meshes |
|
std::vector< glm::vec3 > | relativeMeshPositions |
|
int | faceCount =0 |
|
glm::mat4 | model_matrix |
|
void Energy::update |
( |
float |
deltaTime | ) |
|
|
virtual |
Update contained geometry (collection of meshes) according to time passed.
- Parameters
-
deltaTime | time passed since last update |
Reimplemented from Item.
The documentation for this class was generated from the following files: