friction_factor = props->getDoubleValue("friction-factor", 1.0);
rolling_friction = props->getDoubleValue("rolling-friction", 0.02);
bumpiness = props->getDoubleValue("bumpiness", 0.0);
- load_resistence = props->getDoubleValue("load-resistence", 1e30);
+ load_resistance = props->getDoubleValue("load-resistance", 1e30);
// Taken from default values as used in ac3d
ambient[0] = props->getDoubleValue("ambient/r", 0.2);
friction_factor = 1;
rolling_friction = 0.02;
bumpiness = 0;
- load_resistence = 1e30;
+ load_resistance = 1e30;
shininess = 1.0;
for (int i = 0; i < 4; i++) {
double get_bumpiness () const { return bumpiness; }
/**
- * Get the load resistence
+ * Get the load resistance
*/
- double get_load_resistence () const { return load_resistence; }
+ double get_load_resistance () const { return load_resistance; }
/**
* Get the list of names for this material
// the bumpiness of that surface material
double bumpiness;
- // the load resistence of that surface material
- double load_resistence;
+ // the load resistance of that surface material
+ double load_resistance;
// material properties
SGVec4f ambient, diffuse, specular, emission;