#include <PhysicsSystem.h>
Definition at line 16 of file PhysicsSystem.h.
◆ PhysicsSystem()
◆ ~PhysicsSystem()
| Physics::PhysicsSystem::~PhysicsSystem |
( |
| ) |
|
◆ addBody()
| void Physics::PhysicsSystem::addBody |
( |
PhysicsBody * |
body | ) |
|
◆ clearRuntimeState()
| void Physics::PhysicsSystem::clearRuntimeState |
( |
| ) |
|
◆ disablePhysics()
| void Physics::PhysicsSystem::disablePhysics |
( |
| ) |
|
◆ enablePhysics()
| void Physics::PhysicsSystem::enablePhysics |
( |
| ) |
|
◆ fetchLatestSnapshot()
| std::optional< std::vector< ObjectSnapshot > > Physics::PhysicsSystem::fetchLatestSnapshot |
( |
float |
renderSimTime | ) |
|
◆ getAmbientTemperature()
| float Physics::PhysicsSystem::getAmbientTemperature |
( |
| ) |
const |
|
inline |
◆ getBodyById()
◆ getGlobalAcceleration()
| glm::vec3 Physics::PhysicsSystem::getGlobalAcceleration |
( |
| ) |
const |
|
inline |
◆ getGravitationalConstant()
| double Physics::PhysicsSystem::getGravitationalConstant |
( |
| ) |
const |
|
inline |
◆ getRouter()
| const ProblemRouter * Physics::PhysicsSystem::getRouter |
( |
| ) |
const |
|
inline |
◆ getSimSpeed()
| float Physics::PhysicsSystem::getSimSpeed |
( |
| ) |
const |
|
inline |
◆ isPhysicsEnabled()
| bool Physics::PhysicsSystem::isPhysicsEnabled |
( |
| ) |
const |
|
inline |
◆ removeBody()
| void Physics::PhysicsSystem::removeBody |
( |
PhysicsBody * |
body | ) |
|
◆ reset()
| void Physics::PhysicsSystem::reset |
( |
| ) |
|
◆ setAmbientTemperature()
| void Physics::PhysicsSystem::setAmbientTemperature |
( |
float |
newTemp | ) |
|
|
inline |
◆ setGlobalAcceleration()
| void Physics::PhysicsSystem::setGlobalAcceleration |
( |
const glm::vec3 & |
newAcceleration | ) |
|
|
inline |
◆ setGravitationalConstant()
| void Physics::PhysicsSystem::setGravitationalConstant |
( |
double |
newG | ) |
|
|
inline |
◆ setSimSpeed()
| void Physics::PhysicsSystem::setSimSpeed |
( |
float |
newSpeed | ) |
|
|
inline |
◆ solveProblem()
| void Physics::PhysicsSystem::solveProblem |
( |
PhysicsBody * |
body, |
|
|
const std::unordered_map< std::string, double > & |
knowns, |
|
|
const std::string & |
unknown = "" |
|
) |
| |
◆ start()
| void Physics::PhysicsSystem::start |
( |
| ) |
|
◆ step()
| bool Physics::PhysicsSystem::step |
( |
float |
dt | ) |
|
◆ stop()
| void Physics::PhysicsSystem::stop |
( |
| ) |
|
◆ waitForStop()
| void Physics::PhysicsSystem::waitForStop |
( |
| ) |
|
◆ simTime
| float Physics::PhysicsSystem::simTime = 0.0f |
The documentation for this class was generated from the following files: