|
group2 0.1.0
CSE 125 Group 2
|
#include <Sleep.hpp>
Public Attributes | |
| float | linearThresh = 0.5f |
| Linear velocity below which a body counts as "still". | |
| float | angularThresh = 0.1f |
| Angular velocity below which a body counts as "still". | |
| uint16_t | framesToSleep = 64 |
| Frames of stillness before a body sleeps (default ~0.5 s at 128 Hz). | |
| float physics::SleepConfig::angularThresh = 0.1f |
Angular velocity below which a body counts as "still".
| uint16_t physics::SleepConfig::framesToSleep = 64 |
Frames of stillness before a body sleeps (default ~0.5 s at 128 Hz).
| float physics::SleepConfig::linearThresh = 0.5f |
Linear velocity below which a body counts as "still".