Explorar el Código

Examples: Improved render in onWindowResize for webgl_interactive_voxelpainter.html (#22629)

linbingquan hace 3 años
padre
commit
bc4fe9d418
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      examples/webgl_interactive_voxelpainter.html

+ 2 - 0
examples/webgl_interactive_voxelpainter.html

@@ -109,6 +109,8 @@
 
 				renderer.setSize( window.innerWidth, window.innerHeight );
 
+				render();
+
 			}
 
 			function onPointerMove( event ) {