SO3Engine
|
SO3ShapeChamferCylinder.cpp
Go to the documentation of this file.
21SShapeChamferCylinder::SShapeChamferCylinder(const std::string& shapeName, SNode* node, const Ogre::Real& radius, const Ogre::Real& height) : SShape(shapeName, SShape::SO3_CHAMFERCYLINDRE_COLLISION)
41 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::ChamferCylinder(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, Ogre::Quaternion::IDENTITY, mComputedOffset));
44SShapeChamferCylinder::SShapeChamferCylinder(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_CHAMFERCYLINDRE_COLLISION)
66 mCollisionPtr = OgreNewt::CollisionPtr(new OgreNewt::CollisionPrimitives::ChamferCylinder(node->GetParentScene()->GetPhysicsWorld()->GetPhysicWorld(), mRadius, mHeight, 0, mBaseRotation, mComputedOffset));
filled-donut shape primitive.
Definition OgreNewt_CollisionPrimitives.h:182
Definition SO3Entity.h:43
Definition SO3NodeScol.h:43
~SShapeChamferCylinder()
Definition SO3ShapeChamferCylinder.cpp:69
Ogre::Real GetRadius()
Definition SO3ShapeChamferCylinder.cpp:73
Ogre::Real GetHeight()
Definition SO3ShapeChamferCylinder.cpp:78
Definition SO3Shape.h:47
Manage physics shape .
Definition SO3DataScol.h:38
Generated by 1.9.8