Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quaternions at this precision can't represent very slow rotations sam…
…pled at very high frequency, so now there's "stochastic small rotations" -- very small rotations will pseudorandomly be rounded up to a small rotation that *can* be represented by a Quaternion, or down to 0. The probability of being rounded up or down is based on the size of the very small rotation compared to our minimum very small rotation. Over time, this means small / slow rotations get represented pretty well. The user can comment out #define GMH_STOCHASTIC_SMALL_ROTATIONS_ENABLED in order to disable this.
- Loading branch information