Magic Lantern Developer Wiki
Build Cross-platform Applications
Status: Beta
Brought to you by:
wizzerworks
/*! 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(); } }