Removing void

This commit is contained in:
Jason Hooks 2012-09-17 17:23:26 -04:00
parent 05687c120f
commit f01aae138f
2 changed files with 4 additions and 4 deletions

View file

@ -112,7 +112,7 @@ namespace Physic
} }
} }
Ogre::Vector3 PhysicActor::getPosition(void) Ogre::Vector3 PhysicActor::getPosition()
{ {
btVector3 vec = mBody->getWorldTransform().getOrigin(); btVector3 vec = mBody->getWorldTransform().getOrigin();
Ogre::Quaternion rotation = Ogre::Quaternion(mBody->getWorldTransform().getRotation().getW(), mBody->getWorldTransform().getRotation().getX(), Ogre::Quaternion rotation = Ogre::Quaternion(mBody->getWorldTransform().getRotation().getW(), mBody->getWorldTransform().getRotation().getX(),
@ -122,7 +122,7 @@ namespace Physic
return visualPosition; return visualPosition;
} }
Ogre::Quaternion PhysicActor::getRotation(void) Ogre::Quaternion PhysicActor::getRotation()
{ {
btQuaternion quat = mBody->getWorldTransform().getRotation() * mBoxRotationInverse; btQuaternion quat = mBody->getWorldTransform().getRotation() * mBoxRotationInverse;
return Ogre::Quaternion(quat.getW(), quat.getX(), quat.getY(), quat.getZ()); return Ogre::Quaternion(quat.getW(), quat.getX(), quat.getY(), quat.getZ());

View file

@ -93,12 +93,12 @@ namespace Physic
* This returns the visual position of the PhysicActor (used to position a scenenode). * This returns the visual position of the PhysicActor (used to position a scenenode).
* Note - this is different from the position of the contained mBody. * Note - this is different from the position of the contained mBody.
*/ */
Ogre::Vector3 getPosition(void); Ogre::Vector3 getPosition();
/** /**
* Returns the visual orientation of the PhysicActor * Returns the visual orientation of the PhysicActor
*/ */
Ogre::Quaternion getRotation(void); Ogre::Quaternion getRotation();
/** /**
* Sets the position of mBody from a visual position input. * Sets the position of mBody from a visual position input.