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:
parent
1091773e9f
commit
517c2ce99e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue