فهرست منبع

Fixed example still using .setY()

Mr.doob 12 سال پیش
والد
کامیت
3ae91feff3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/webgl_multiple_canvases_circle.html

+ 1 - 1
examples/webgl_multiple_canvases_circle.html

@@ -203,7 +203,7 @@
 					container = document.getElementById( containerId );
 
 					camera = new THREE.PerspectiveCamera( 20, container.clientWidth / container.clientHeight, 1, 20000 );
-					camera.rotation.setY( rotateY );
+					camera.rotation.y = rotateY;
 
 					// Think of the virtual camera as a post with 5 cameras on it (even though those cameras happen to live in difference scenes)
 					// You need to move the post (ie, the virtualCamera) to move all 5 cameras together.