Block rotation is now correct

This commit is contained in:
Felipe Martin 2013-05-29 23:18:57 +02:00
parent 89b405d49a
commit 4d41db4192
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ window.BlockRenderer = (model, textures, dom, width, height) ->
material = new THREE.MeshLambertMaterial map: texture
object = new THREE.Mesh new THREE.CubeGeometry(16, 16, 16), material
object.rotation.set Math.PI/6, Math.PI/4, 0
object.rotation.set Math.PI/6, (Math.PI/4)*-1, 0
object