4 ms·
>I've seen this done for quaternions, where you have a 4-value unit vector. Which has an additional benefit, namely that the unit quaternions q and -q represen
by layoutIfNeeded 7y ago
>I've seen this done for quaternions, where you have a 4-value unit vector.
Which has an additional benefit, namely that the unit quaternions q and -q represent the same rotation, so there's no need to store the sign bit.