remove requestAniamtionFrame function from the animate function
This commit is contained in:
@@ -71,5 +71,5 @@ function animate() {
|
||||
let degrees = -0.5;
|
||||
modelObject.rotateY(degrees * (Math.PI / 180));
|
||||
renderer.render(scene, camera);
|
||||
requestAnimationFrame(animate);
|
||||
//requestAnimationFrame(animate); // idk why this made things spin out of control lmao
|
||||
}
|
||||
|
Reference in New Issue
Block a user