mirror of
https://github.com/Floriansylvain/generic-threejs-game.git
synced 2026-08-20 03:53:40 +02:00
clean: small code cleaning
This commit is contained in:
@@ -15,12 +15,13 @@ const grassTexture = new TextureLoader().load("./texture_grass.jpg");
|
||||
grassTexture.wrapS = grassTexture.wrapT = RepeatWrapping;
|
||||
grassTexture.repeat.set(100, 100);
|
||||
|
||||
const SIZE = 100;
|
||||
const SCALE = 1.5;
|
||||
const AMPLITUDE = 30;
|
||||
const OVERLAP = 0.5;
|
||||
const SCALE = 5;
|
||||
const AMPLITUDE = 10;
|
||||
const GEOMETRY = 50;
|
||||
const CHUNK_SIZE = 100;
|
||||
|
||||
const SIZE = 100; // CHANGE WITH CAUTION
|
||||
const OVERLAP = 0.5; // CHANGE WITH CAUTION
|
||||
const CHUNK_SIZE = 100; // CHANGE WITH CAUTION
|
||||
|
||||
const ADJUSTED_GEOMETRY = GEOMETRY + OVERLAP * 2;
|
||||
const ADJUSTED_SIZE = SIZE + OVERLAP * 2;
|
||||
|
||||
Reference in New Issue
Block a user