diff --git a/cube.js b/cube.js index 0184837..a1325ce 100644 --- a/cube.js +++ b/cube.js @@ -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)`; } }