|
CG-Project2
|
Simulate gravity force towards the negative y world axis. More...
#include <PhysicWorld.hpp>


Public Member Functions | |
| virtual void | solve () override |
| This method is executed at every physic simulation step. | |
| GravitySolver (PhysicWorld &world) | |
| Instance basic GravitySolver object. | |
| Public Member Functions inherited from Solver | |
| Solver (PhysicWorld &world) | |
| Instances basic Solver. | |
Additional Inherited Members | |
| Public Attributes inherited from Solver | |
| PhysicWorld & | world |
| the reference to the PhysicWorld | |
Simulate gravity force towards the negative y world axis.
|
inline |
|
overridevirtual |
This method is executed at every physic simulation step.
Reimplemented from Solver.