diff --git a/src/chapter-01/04-materials-light-animation.html b/src/chapter-01/04-materials-light-animation.html index d0e0d0df..5903f1aa 100644 --- a/src/chapter-01/04-materials-light-animation.html +++ b/src/chapter-01/04-materials-light-animation.html @@ -1,8 +1,6 @@ - - Example 01.04 - Materials, light and animation @@ -15,6 +13,8 @@ + +
diff --git a/src/chapter-01/05-control-gui.html b/src/chapter-01/05-control-gui.html index 5c57a4ac..7a724fbc 100644 --- a/src/chapter-01/05-control-gui.html +++ b/src/chapter-01/05-control-gui.html @@ -1,7 +1,6 @@ - Example 01.05 - Control gui @@ -16,6 +15,7 @@ +
diff --git a/src/chapter-05/js/05-11.js b/src/chapter-05/js/05-11.js index 76192f45..3fbc79f5 100644 --- a/src/chapter-05/js/05-11.js +++ b/src/chapter-05/js/05-11.js @@ -19,7 +19,6 @@ function init() { // the start geometry and material. Used as the base for the settings in the control UI this.appliedMaterial = applyMeshNormalMaterial this.castShadow = true; - this.groundPlaneVisible = true; this.radius = 10; this.detail = 0; @@ -74,7 +73,6 @@ function init() { }).onChange(controls.redraw) gui.add(controls, 'castShadow').onChange(function(e) {controls.mesh.castShadow = e}) - gui.add(controls, 'groundPlaneVisible').onChange(function(e) {groundPlane.material.visible = e}) // initialize the first redraw so everything gets initialized controls.redraw(); diff --git a/src/chapter-09/01-basic-animation.html b/src/chapter-09/01-basic-animation.html index 6421d62b..1964dc18 100644 --- a/src/chapter-09/01-basic-animation.html +++ b/src/chapter-09/01-basic-animation.html @@ -1,7 +1,6 @@ - Example 09.01 - Simple animation @@ -16,6 +15,8 @@ + +
diff --git a/src/chapter-09/02-selecting-objects.html b/src/chapter-09/02-selecting-objects.html index 02214913..0ef10f83 100644 --- a/src/chapter-09/02-selecting-objects.html +++ b/src/chapter-09/02-selecting-objects.html @@ -1,7 +1,6 @@ - Example 09.02 - Selecting objects @@ -16,6 +15,8 @@ + +