SO3Engine
|
OgreNewt_Collision.cpp
Go to the documentation of this file.
16Collision::Collision( const Collision& shape) : m_world(shape.m_world), m_col(shape.m_col ? NewtonCollisionCreateInstance(shape.m_col) : NULL)
20Collision::Collision(const NewtonCollision* collision, const World* world) : m_world(world), m_col(NewtonCollisionCreateInstance(collision))
32Ogre::AxisAlignedBox Collision::getAABB( const Ogre::Quaternion& orient, const Ogre::Vector3& pos ) const
Ogre::AxisAlignedBox getAABB(const Ogre::Quaternion &orient=Ogre::Quaternion::IDENTITY, const Ogre::Vector3 &pos=Ogre::Vector3::ZERO) const
Definition OgreNewt_Collision.cpp:32
CollisionPrimitiveType getCollisionPrimitiveType() const
Returns the Collisiontype for this Collision.
Definition OgreNewt_Collision.h:95
NewtonCollisionInfoRecord * getInfo()
Returns collision info record for this collision.
Definition OgreNewt_Collision.h:101
represents a collision shape that is explicitly convex.
Definition OgreNewt_Collision.h:121
NewtonWorld * getNewtonWorld() const
retrieves a pointer to the NewtonWorld
Definition OgreNewt_World.h:284
_OgreNewtExport Ogre::AxisAlignedBox CollisionCalculateFittingAABB(const OgreNewt::CollisionPtr &col, const Ogre::Quaternion &orient=Ogre::Quaternion::IDENTITY, const Ogre::Vector3 &pos=Ogre::Vector3::ZERO)
calculate the AABB of a collision primitive in an arbitrary orientation
Definition OgreNewt_Tools.cpp:192
Generated by 1.9.8