|
| | Terrain (size_t dimX, size_t dimY, float cellSize, const std::vector< float > &heights, const std::string &name, Scene *scene=0, Model *model=0, Shader *shader=0) |
| |
| virtual | ~Terrain () |
| |
| float | getHeight (float x, float y) |
| |
| | SceneObject (std::shared_ptr< SceneObject > &effectParent, const glm::mat4 &modelMatrix=glm::mat4(1)) |
| |
| | SceneObject (const std::string &name, Scene *scene=0, Model *model=0, const glm::mat4 &modelMatrix=glm::mat4(1)) |
| |
| virtual | ~SceneObject () |
| |
| Model * | getModel () const |
| |
| Shader * | getShader () const |
| |
| glm::mat4 | getModelMatrix () const |
| |
| glm::mat4 | getGlobalModelMatrix () const |
| |
| std::string | getName () const |
| |
| std::shared_ptr< SceneObject > | getParent () const |
| |
| void | setAnimationTime (double time) |
| |
| bool | setAnimation (const Animation &anim) |
| |
| bool | delChild (size_t idx) |
| |
| bool | getChild (size_t idx, std::shared_ptr< SceneObject > &child) const |
| |
| bool | addChild (std::shared_ptr< SceneObject > &child) |
| |
| bool | remEffect (const std::string &name) |
| |
| SceneObject * | getEffect (const std::string &name) const |
| |
| bool | addEffect (const std::string &name, std::unique_ptr< SceneObject > &effect) |
| |
| bool | doNotRender () |
| |
| bool | getIsVolSun () |
| |
| virtual void | reset () |
| |
| virtual void | draw () const |
| |
| virtual bool | animate (double time) |
| |
| virtual void | update (double deltaT) |
| |
| virtual void | setShader (Shader *val) |
| |
Implements terrain height query.