Parcourir la source

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

Mr.doob il y a 11 ans
Parent
commit
b3075f7cab
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      examples/misc_controls_trackball.html

+ 4 - 0
examples/misc_controls_trackball.html

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