Examples: Fix bug in weblg_clipping_advanced.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <title>three.js webgl - clipping planes</title>
+ <title>three.js webgl - clipping planes - advanced</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="main.css">
@@ -249,8 +249,10 @@
} );
- volumeVisualization.add(
- new THREE.Mesh( planeGeometry, material ) );
+ var mesh = new THREE.Mesh( planeGeometry, material );
+ mesh.matrixAutoUpdate = false;
+
+ volumeVisualization.add( mesh );
}