virtual-world-framework / vwf

Virtual World Framework
https://virtual.wf
Other
142 stars 53 forks source link

Fixes getWorldTransform and recursively sets transform dirty #439

Closed scottnc27603 closed 9 years ago

scottnc27603 commented 9 years ago

Returns the identity matrix from getWorldTransform if the node is undefined, or the node is the scene.

Also, traverses the children when the transform is set, and marks the transforms as dirty in case a get transform occurs.

allisoncorey commented 9 years ago

:+1: