Logo Search packages:      
Sourcecode: blender version File versions  Download package

SIMD_FORCE_INLINE void btTransform::setOrigin ( const btVector3 &  origin  )  [inline]

Set the translational element.

Parameters:
origin The vector to set the translation to

Definition at line 140 of file btTransform.h.

References m_origin.

Referenced by btConvexTriangleMeshShape::calculatePrincipalAxisTransform(), CcdPhysicsEnvironment::createConstraint(), and GIM_TRIANGLE::get_triangle_transform().

      { 
            m_origin = origin;
      }


Generated by  Doxygen 1.6.0   Back to index