NTRT Simulator
v1.1
|
#include <tgBox.h>
Public Member Functions | |
Config (double w=1.0, double h=1.0, double d=1.0, double f=1.0, double rf=0.0, double res=0.2) | |
Public Attributes | |
const double | width |
const double | height |
const double | density |
const double | friction |
const double | rollFriction |
const double | restitution |
Holds two public member variables, density and radius, describing a rod configuration. A constructor allows them to be set together and to default.
tgBox::Config::Config | ( | double | w = 1.0 , |
double | h = 1.0 , |
||
double | d = 1.0 , |
||
double | f = 1.0 , |
||
double | rf = 0.0 , |
||
double | res = 0.2 |
||
) |
const double tgBox::Config::density |
const double tgBox::Config::friction |
const double tgBox::Config::height |
const double tgBox::Config::restitution |
const double tgBox::Config::rollFriction |
const double tgBox::Config::width |