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

SIMD_FORCE_INLINE void btGImpactShapeInterface::updateBound (  )  [inline]

performs refit operation

Updates the entire Box set of this shape.

Precondition:
postUpdate() must be called for attemps to calculating the box set, else this function will does nothing.
Postcondition:
if m_needs_update == true, then it calls calcLocalAABB();

Definition at line 122 of file btGImpactShape.h.

References calcLocalAABB().

    {
      if(!m_needs_update) return;
      calcLocalAABB();
      m_needs_update  = false;
    }


Generated by  Doxygen 1.6.0   Back to index