Minor edit in CustomBodyState

This commit is contained in:
Dander7BD 2013-12-19 11:22:20 +01:00
parent 4e21e2b0c0
commit 4ebb8cd9b8
1 changed files with 5 additions and 5 deletions

View File

@ -35,11 +35,11 @@ namespace Oyster { namespace Physics
this->staticFrictionCoeff = staticFrictionCoeff;
this->kineticFrictionCoeff = kineticFrictionCoeff;
this->inertiaTensor = inertiaTensor;
this->reach = ::Oyster::Math::Float4( reach.xyz, 0.0f );
this->centerPos = ::Oyster::Math::Float4( centerPos.xyz, 1.0f );
this->angularAxis = ::Oyster::Math::Float4( rotation.xyz, 0.0f );
this->linearMomentum = ::Oyster::Math::Float4( linearMomentum.xyz, 0.0f );
this->angularMomentum = ::Oyster::Math::Float4( angularMomentum.xyz, 0.0f );
this->reach = reach;
this->centerPos = centerPos;
this->angularAxis = rotation;
this->linearMomentum = linearMomentum;
this->angularMomentum = angularMomentum;
this->linearImpulse = this->angularImpulse = ::Oyster::Math::Float4::null;
this->isSpatiallyAltered = this->isDisturbed = false;
}