Browse Source

Examples: Added render() call to misc_controls_trackball as it now updates before the eventlistener can catch it.

Mr.doob 11 năm trước cách đây
mục cha
commit
b3075f7cab

+ 4 - 0
examples/misc_controls_trackball.html

@@ -133,6 +133,10 @@
 
 
 				window.addEventListener( 'resize', onWindowResize, false );
 				window.addEventListener( 'resize', onWindowResize, false );
 
 
+				//
+
+				render();
+
 			}
 			}
 
 
 			function onWindowResize() {
 			function onWindowResize() {