From 4ebb8cd9b83517d33b1d28bafa1fe9fd1ab0ec74 Mon Sep 17 00:00:00 2001 From: Dander7BD Date: Thu, 19 Dec 2013 11:22:20 +0100 Subject: [PATCH] Minor edit in CustomBodyState --- Code/GamePhysics/PhysicsStructs-Impl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Code/GamePhysics/PhysicsStructs-Impl.h b/Code/GamePhysics/PhysicsStructs-Impl.h index 8a75b0bf..e48ede8d 100644 --- a/Code/GamePhysics/PhysicsStructs-Impl.h +++ b/Code/GamePhysics/PhysicsStructs-Impl.h @@ -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; }