diff --git a/toto.html b/toto.html
index 134bdc5..51fad2b 100644
--- a/toto.html
+++ b/toto.html
@@ -87,15 +87,15 @@
});
- //let busteCSG = BABYLON.CSG.FromMesh(buste);
- //let planeCSG = BABYLON.CSG.FromMesh(plane);
+ let busteCSG = BABYLON.CSG.FromMesh(buste[0]);
+ let planeCSG = BABYLON.CSG.FromMesh(plane);
- //let booleanCSG = busteCSG.subtract(planeCSG);
+ let booleanCSG = busteCSG.subtract(planeCSG);
- //let newMesh = booleanCSG.toMesh("newMesh", null, scene);
+ let newMesh = booleanCSG.toMesh("newMesh", null, scene);
- // buste.visibility = false;
- // plane.visibility = false;
+ buste.visibility = false;
+ plane.visibility = false;
// Move the light with the camera
scene.registerBeforeRender(function () {