fix quaternion order in JS interop bindings

This commit is contained in:
Nick Fisher
2024-06-04 22:20:40 +08:00
parent 6ecfb60521
commit 78662ccade

View File

@@ -297,10 +297,10 @@ class JsInteropFilamentViewer implements AbstractFilamentViewer {
q.translation[0].toJS, q.translation[0].toJS,
q.translation[1].toJS, q.translation[1].toJS,
q.translation[2].toJS, q.translation[2].toJS,
q.rotation.w.toJS,
q.rotation.x.toJS, q.rotation.x.toJS,
q.rotation.y.toJS, q.rotation.y.toJS,
q.rotation.z.toJS q.rotation.z.toJS,
q.rotation.w.toJS,
].toJS) ].toJS)
.toList() .toList()
.toJS) .toJS)