1
Fork 0
mirror of https://github.com/RGBCube/rgbcube.github.io synced 2025-06-22 07:52:12 +00:00

Make Velocity user accessible

This commit is contained in:
RGBCube 2023-12-18 11:48:48 +03:00
parent 56215e379b
commit 0646f0286f
No known key found for this signature in database

View file

@ -277,6 +277,7 @@
let friction = 0.01;
let sensitivity = 0.01;
let velocity = 0;
const orientation = {
__value: new Quaternion({x: 0, y: 0, z: 0, w: 1}),
@ -301,8 +302,6 @@
},
};
let velocity = 0;
document.addEventListener("mouseleave", () => {
mouse.down = false;
});