1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

Make cube spin slower

This commit is contained in:
RGBCube 2024-01-05 23:58:55 +03:00
parent 1091773e9f
commit 517c2ce99e
No known key found for this signature in database

View file

@ -208,7 +208,7 @@ const orientation = {
} }
if (window.performance.now() - mouse.lastMove > 10000) { if (window.performance.now() - mouse.lastMove > 10000) {
const impulse = new Vec3(1, 1, -1); const impulse = new Vec3(0.7, 0.7, -0.7);
velocity = Vec3.sum(impulse.scale(effectiveDelta * 3), velocity); velocity = Vec3.sum(impulse.scale(effectiveDelta * 3), velocity);
} }