From 41d3ad56f593e31b3ff806c715dc51c904123d09 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Tue, 16 May 2023 16:26:27 -0600 Subject: [PATCH] remove some random numbers that don't seem to make a difference in stats-world --- src/components/World/components/objects/terrain.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/World/components/objects/terrain.js b/src/components/World/components/objects/terrain.js index 7b612d14..c800ef81 100644 --- a/src/components/World/components/objects/terrain.js +++ b/src/components/World/components/objects/terrain.js @@ -27,12 +27,6 @@ export function createTerrain(props) { plane.geometry.attributes.position.originalPosition = plane.geometry.attributes.position.array; - //Randomizing our vertices position - const { array } = plane.geometry.attributes.position; - for (let i = 0; i < array.length; i++) { - props.randVertexArr.push(Math.random()); - } - plane.geometry.attributes.position.randomValues = props.randVertexArr; // eslint-disable-next-line @typescript-eslint/no-empty-function