TODO.
Function names are boring since Calcit lacks performance polymorphism. You might want Quaternion in Rust.
In quaternion.core
:
Complex math:
&c*
&c+
&c-
c+
c*
c-conjugate
c-length
c-length2
c-scale
Vector:
&v+
&v-
v+
v-
v-scale
v-cross
v-dot
v-normalize
Quaternion math:
&q*
&q+
&q-
q+
q-
q-conjugate
q-inverse
q-length
q-length2
q-scale
Notice: Quaternion in this library looks like
[] x y z w
since original usage was in three.js .
https://github.com/calcit-lang/calcit-workflow
MIT