Ejemplo n.º 1
0
//--------------------------------------------------------------------------------
void Transform::DirtyTransform(void) {
	modified = true;

	if (!dirtied) {
		dirtied = true;

		Transform* current = child;

		while (nullptr != current) {
			current->DirtyTransform();
			current = current->sibling;
		}
	}
}
Ejemplo n.º 2
0
	void Transform::DirtyTransform(void)
	{
		modified = true;

		if( !dirtied )
		{
			dirtied = true;

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