Example #1
0
//--------------------------------------------------------------------------------
void Transform::DirtyTransform(void) {
	modified = true;

	if (!dirtied) {
		dirtied = true;

		Transform* current = child;

		while (nullptr != current) {
			current->DirtyTransform();
			current = current->sibling;
		}
	}
}
Example #2
0
	void Transform::DirtyTransform(void)
	{
		modified = true;

		if( !dirtied )
		{
			dirtied = true;

			Transform* current = firstChild;
			while( current != 0 )
			{
				current->DirtyTransform();
				current = current->nextSibling;
			}
		}
	}