mirror of
https://github.com/RGBCube/rgbcube.github.io
synced 2025-05-31 13:18:13 +00:00
Make Velocity user accessible
This commit is contained in:
parent
56215e379b
commit
0646f0286f
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
});
|
||||
|
@ -346,4 +345,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue