Oblateness was being set to mass when mass field was present in an ssc definition. Not so good. Fixed the typo that was causing this.

pull/3/head
Chris Laurel 2004-07-12 09:32:14 +00:00
parent cac5ae1020
commit eac56e525d
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ static Body* CreatePlanet(PlanetarySystem* system,
double mass = 0.0;
if (planetData->getNumber("Mass", mass))
body->setOblateness((float) mass);
body->setMass((float) mass);
Quatf orientation;
if (planetData->getRotation("Orientation", orientation))