Demonstration scene featuring a working procedural clock and basic physics interactions.
More...
|
| | SampleScene (const char *sceneName, Input *input, Shader *shader, int winWidth, int winHeight) |
| | ~SampleScene () override |
| void | init () override |
| void | update (float deltaTime) override |
| void | physics_update (float deltaTime) override |
| | Fixed-step physics update loop for resolving collisions and forces.
|
| void | onMouseButtonEvent (int button, int state, int x, int y) override |
| void | onMenuEvent (int option) override |
| void | onMouseWheelEvent (int wheel, int direction, int x, int y) override |
| void | onKeyboardEvent (unsigned char key, int x, int y, bool isDown) override |
| | Scene (const char *sceneName, Input *engineInput, Shader *engineShader, int winWidth, int winHeight) |
| virtual | ~Scene ()=default |
| const std::vector< Mesh * > & | getMeshes () const |
| const std::vector< Light * > & | getLights () const |
| const std::vector< Spline * > & | getSplines () const |
| const std::vector< CollisionShape * > & | getColliders () const |
| Skybox * | getSkybox () const |
| Light * | getSun () const |
| Camera & | getCamera () |
| Shader * | getShader () const |
| Input * | getInput () const |
| float | updateTime () |
| | Calculates delta time since the last frame.
|
| float | getSkyboxBlendingCoeff () |
| const char * | getSceneName () |
| virtual void | onMouseMoveEvent (int x, int y) |
| virtual void | onScreenResizeEvent (int width, int height) |
| | Handles viewport and projection matrix updates on window resize.
|
Demonstration scene featuring a working procedural clock and basic physics interactions.