#include <physical.h>
◆ Attribute()
Physical::Attribute::Attribute |
( |
const Vector3f & | gravity, |
|
|
float | fluidDensity ) |
◆ fluidDensity
float Physical::Attribute::fluidDensity |
The density of fluid within this Scene. This will ultimately determine the drag that all objects moving within the Scene will experience. Note that a Scene can only have one fluid like air or water, but not both.
◆ gravity
The gravity of this Scene, essentially an acceleration vector applied to all GeometricObjects. On earth, this would look like { 0.0, -9.8, 0.0 }.
The documentation for this class was generated from the following file: