s/resistence/resistance/
This commit is contained in:
parent
aa386b577d
commit
ab2209be8c
1 changed files with 2 additions and 2 deletions
|
@ -873,7 +873,7 @@ FGInterface::get_agl_m(double t, const double pt[3],
|
||||||
sgdCopyVec3(normal, _normal.data());
|
sgdCopyVec3(normal, _normal.data());
|
||||||
sgdCopyVec3(vel, _vel.data());
|
sgdCopyVec3(vel, _vel.data());
|
||||||
if (material) {
|
if (material) {
|
||||||
*loadCapacity = material->get_load_resistence();
|
*loadCapacity = material->get_load_resistance();
|
||||||
*frictionFactor = material->get_friction_factor();
|
*frictionFactor = material->get_friction_factor();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -920,7 +920,7 @@ FGInterface::get_agl_ft(double t, const double pt[3],
|
||||||
// return material properties if available
|
// return material properties if available
|
||||||
if (material) {
|
if (material) {
|
||||||
// FIXME: convert units?? now pascal to lbf/ft^2
|
// FIXME: convert units?? now pascal to lbf/ft^2
|
||||||
*loadCapacity = 0.020885434*material->get_load_resistence();
|
*loadCapacity = 0.020885434*material->get_load_resistance();
|
||||||
*frictionFactor = material->get_friction_factor();
|
*frictionFactor = material->get_friction_factor();
|
||||||
} else {
|
} else {
|
||||||
*loadCapacity = DBL_MAX;
|
*loadCapacity = DBL_MAX;
|
||||||
|
|
Loading…
Reference in a new issue