Skip to content

InvalidateWorldConversionMatrices()

Mark Millard edited this page May 28, 2020 · 4 revisions
    /*!
      Invalidates world conversion matrices.
    */
    void
    SoDragger::invalidateWorldConversionMatrices() 
    {
      if (PRIVATE(this)->draggercache)
      {
    	SbMatrix m1 = PRIVATE(this)->draggercache->draggerToWorld;
        m1 = SbMatrix::identity();
    	SbMatrix m2 = PRIVATE(this)->draggercache->worldToDragger;
        m2 = SbMatrix::identity();
      }
    }
    
Clone this wiki locally