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