Made line endings consistent.
This commit is contained in:
parent
5c879b623f
commit
c3821e703b
@ -612,14 +612,14 @@ void Kart::createPhysics()
|
||||
if(f<0)
|
||||
{
|
||||
const Vec3 cs = getKartProperties()->getGravityCenterShift();
|
||||
wheel_pos[index].setX(x*0.5f*getKartWidth()+cs.getX());
|
||||
float radius = getKartProperties()->getWheelRadius();
|
||||
// Set the connection point so that a maximum compressed wheel
|
||||
// (susp. length=0) will still poke a little bit out under the
|
||||
// kart
|
||||
wheel_pos[index].setY(radius - 0.05f);
|
||||
wheel_pos[index].setZ((0.5f*getKartLength() - radius)* z
|
||||
+ cs.getZ());
|
||||
wheel_pos[index].setX(x*0.5f*getKartWidth()+cs.getX());
|
||||
float radius = getKartProperties()->getWheelRadius();
|
||||
// Set the connection point so that a maximum compressed wheel
|
||||
// (susp. length=0) will still poke a little bit out under the
|
||||
// kart
|
||||
wheel_pos[index].setY(radius - 0.05f);
|
||||
wheel_pos[index].setZ((0.5f*getKartLength() - radius)* z
|
||||
+ cs.getZ());
|
||||
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user