两个方块用两种写法转动。把右边的"模拟设备帧率"调低,看哪一个先乱掉。
rotation.y += 0.01
rotation.y += speed * dt
requestAnimationFrame
renderer.setAnimationLoop()