Browse Source

matrix order

yomotsu 8 năm trước cách đây
mục cha
commit
71c3235b80
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/js/renderers/CSS3DRenderer.js

+ 1 - 1
examples/js/renderers/CSS3DRenderer.js

@@ -154,8 +154,8 @@ THREE.CSS3DRenderer = function () {
 		}
 
 		return 'translate(-50%,-50%)' +
-			cameraCSSMatrix +
 			'translate(' + _widthHalf + 'px,' + _heightHalf + 'px)' +
+			cameraCSSMatrix +
 			matrix3d;
 
 	}