module
GravityAdds gravity to particles.
Resources
- Gravity - holds the global value of gravity.
Files
- file gravity.hpp
- Gravity plugin, resource cubos::
engine:: Gravity.
Functions
-
auto gravityPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
-
auto physicsSolverPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
Function documentation
CUBOS_ ENGINE_ API void gravityPlugin(Cubos& cubos)
#include <engine/physics/plugins/gravity.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class |
CUBOS_ ENGINE_ API void physicsSolverPlugin(Cubos& cubos)
#include <engine/physics/solver/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class |