2
0
Эх сурвалжийг харах

Fixed resolution change in marching cubes example

Mr.doob 10 жил өмнө
parent
commit
e02d806c47

+ 1 - 1
examples/webgl_marchingcubes.html

@@ -592,7 +592,7 @@
 			if ( effectController.resolution !== resolution ) {
 
 				resolution = effectController.resolution;
-				effect.init( resolution );
+				effect.init( Math.floor( resolution ) );
 
 			}