0
How to fix This Three.js
How to fix This Three.js I want to import three.js in my code also the latest one https://sololearn.com/compiler-playground/WeybKVg2uxIr/?ref=app
2 Respuestas
+ 4
don't include the grid in your renderer.render. It is already in the scene at line 36.
36. scene.add(cube,pointlight,grid)
change your animate function to:
function animate() {
requestAnimationFrame(animate)
renderer.render(scene, camera)
}
animate()
+ 3
This code has it working, maybe compare the 2 and you could even consider contacting the Coder for help:
https://sololearn.com/compiler-playground/WMBPv3PIeiA9/?ref=app