SO3Engine
|
SO3ShapeCylinder.cpp
Go to the documentation of this file.
21SShapeCylinder::SShapeCylinder(const std::string& shapeName, SNode* node, const Ogre::Real& radius, const Ogre::Real& height) : SShape(shapeName, SShape::SO3_CYLINDER_COLLISION)
41 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::Cylinder(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, mBaseRotation, mComputedOffset));
44SShapeCylinder::SShapeCylinder(const std::string& shapeName, SNode* node, const Ogre::Real& radius, const Ogre::Real& height, const Ogre::Vector3& offset, const Ogre::Quaternion& quat) : SShape(shapeName, SShape::SO3_CYLINDER_COLLISION)
67 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::Cylinder(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, mBaseRotation, mComputedOffset));
standard primitive cylinder.
Definition OgreNewt_CollisionPrimitives.h:98
Definition SO3Entity.h:43
Definition SO3NodeScol.h:43
Definition SO3Shape.h:47
Manage physics shape .
Definition SO3DataScol.h:38
Generated by 1.9.8