-----------------------------------------------------------------------
| 720 | |
| 721 | //----------------------------------------------------------------------- |
| 722 | void Node::_setDerivedPosition( const Vector3 &pos ) |
| 723 | { |
| 724 | // find where the node would end up in parent's local space |
| 725 | if( mParent ) |
| 726 | { |
| 727 | setPosition( mParent->convertWorldToLocalPosition( pos ) ); |
| 728 | mTransform.mDerivedPosition->setFromVector3( pos, mTransform.mIndex ); |
| 729 | mTransform.mDerivedTransform[mTransform.mIndex].makeTrans( pos ); |
| 730 | #if OGRE_DEBUG_MODE >= OGRE_DEBUG_MEDIUM |
| 731 | mCachedTransformOutOfDate = false; |
| 732 | #endif |
| 733 | } |
| 734 | } |
| 735 | //----------------------------------------------------------------------- |
| 736 | void Node::_setDerivedOrientation( const Quaternion &q ) |
| 737 | { |
nothing calls this directly
no test coverage detected