forked from trent_larson/crowd-funder-for-time-pwa
remove some random numbers that don't seem to make a difference in stats-world
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user