vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
189 stars 43 forks source link

fix AbstractMesh.rotate() in Space.WORLD issue #106

Closed ramsestom closed 8 years ago

ramsestom commented 8 years ago

You made a little mistake in the port of the AbstractMesh.rotate() function Line 426 it is a local rotationQuaternion var that must be declared (and not the rotationQuaternion var from class instance) Changing this fix the issue with the rotate function when using WORLD Space.

vujadin commented 8 years ago

Right... single local rotationQuaternion should be declared before that if/else block actually...

vujadin commented 8 years ago

Thanks :+1: