海面儿

This commit is contained in:
nicomacbookpro
2025-08-21 13:33:36 +08:00
parent 5bfe8ffa5b
commit 88d4101b2d

View File

@@ -177,4 +177,10 @@ const oceanGeometry = new PlaneGeometry(50, 50, 5, 5);
oceanGeometry.rotateX(-Math.PI / 2);
const ocean = new Mesh(oceanGeometry, sm);
function animate() {
gu.time.value += 0.01
requestAnimationFrame(animate)
}
animate()
export { ocean }