diff --git a/examples/webgl_marchingcubes.html b/examples/webgl_marchingcubes.html index 8682e5c7d5e95d8d3e11cadbf1df0ce8af7aa313..0b917af40b4c4a67d69a5cbeb03a5d0177053b00 100644 --- a/examples/webgl_marchingcubes.html +++ b/examples/webgl_marchingcubes.html @@ -592,7 +592,7 @@ if ( effectController.resolution !== resolution ) { resolution = effectController.resolution; - effect.init( resolution ); + effect.init( Math.floor( resolution ) ); }