Commits

Martin Felis committed 9172340

fixed FixedBody::CreateFromBody()

Comments (0)

Files changed (1)

 
 	static FixedBody CreateFromBody (const Body& body) {
 		FixedBody fbody;
+
 		fbody.mMass = body.mMass;
 		fbody.mCenterOfMass = body.mCenterOfMass;
 		fbody.mSpatialInertia = body.mSpatialInertia;
+
+		return fbody;
 	}
 };