commit 4536fa78253ea79a98831b484e34c006a2ac3fa1
parent 1048a20f98242bf62fc346fed28956dd3600f7c7
Author: Martin Klöckner <mjkloeckner@gmail.com>
Date: Tue, 25 Jun 2024 18:26:03 -0300
remove `buildPlane()` which is no longer used
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/tp/src/rails.js b/tp/src/rails.js
@@ -183,17 +183,12 @@ function buildRailsFoundation() {
scene.add(pMesh);
}
-function buildPlane() {
- const geo = new THREE.PlaneGeometry(20, 20);
- const mat = new THREE.MeshPhongMaterial({
side: THREE.DoubleSide,
transparent: false,
opacity: 1.0,
shininess: 10,
map: textures.tierra.object
});
- const mesh = new THREE.Mesh(geo, mat);
- scene.add(mesh);
}
function main() {