From 0adc5f3cae76db0cdeada72ff412d682ded15271 Mon Sep 17 00:00:00 2001 From: Michael Ennen Date: Fri, 27 Dec 2024 23:32:22 -0700 Subject: [PATCH] Add related FIXME on toMatrix4 where the incorrect behavior maybe is normalized. --- main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.js b/main.js index bec5515..59e8796 100644 --- a/main.js +++ b/main.js @@ -439,6 +439,8 @@ function initialize3DTableGraphic(moodyReport) { let rotationQuat = Quat.identity() if (axis.magnitude > 0.000001) { + // FIXME: The strange order of this may be related to how toMatrix4 is currently not producing correct values. + // See tests/quat.spec.js toMatrix4 tests. rotationQuat = new Quat(startVectorMapped.dot(currentVectorMapped), axis[0], -axis[1], 0) }