优化草地

This commit is contained in:
nicomacbookpro
2025-08-21 16:08:56 +08:00
parent 38e96c7a76
commit 72c878828f

View File

@@ -158,7 +158,7 @@ class Grass extends THREE.Mesh {
}
const planeGrass = new Grass(50, 100000)
const planeGrass = new Grass(50, 30000)
function animate(time) {
planeGrass.update(time)
requestAnimationFrame(animate)