1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-14 06:40:40 +00:00

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();
Ogre::Quaternion rotation = Ogre::Quaternion(mBody->getWorldTransform().getRotation().getW(), mBody->getWorldTransform().getRotation().getX(),
@ -122,7 +122,7 @@ namespace Physic
return visualPosition;
}
Ogre::Quaternion PhysicActor::getRotation(void)
Ogre::Quaternion PhysicActor::getRotation()
{
btQuaternion quat = mBody->getWorldTransform().getRotation() * mBoxRotationInverse;
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).
* 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
*/
Ogre::Quaternion getRotation(void);
Ogre::Quaternion getRotation();
/**
* Sets the position of mBody from a visual position input.