1
Fork 0
mirror of https://github.com/RGBCube/rgbcube.github.io synced 2025-05-25 18:45:06 +00:00

Multiply by Pi to get a full rotation for some reason

This commit is contained in:
RGBCube 2023-12-19 13:53:49 +03:00
parent ca181a31f9
commit 8d4f49e055
No known key found for this signature in database

View file

@ -75,7 +75,7 @@ class Quat {
}
apply() {
__cube.style.transform = `rotate3d(${this.x}, ${this.y}, ${this.z}, ${this.w}rad)`;
__cube.style.transform = `rotate3d(${this.x}, ${this.y}, ${this.z}, ${this.w * 3.1415}rad)`;
}
}