//-------------------------------------------------------------------------------- void Transform::DirtyTransform(void) { modified = true; if (!dirtied) { dirtied = true; Transform* current = child; while (nullptr != current) { current->DirtyTransform(); current = current->sibling; } } }
void Transform::DirtyTransform(void) { modified = true; if( !dirtied ) { dirtied = true; Transform* current = firstChild; while( current != 0 ) { current->DirtyTransform(); current = current->nextSibling; } } }