Vectors and quaternions, and matrices for general purposes, and computer graphics.
Vector, matrix, and quaternion data structures and operations. Uses f32 or f64 based types.
Example use cases:
- Computer graphics
- Biomechanics
- Structural chemistry and biochemistry
- Various scientific and engineering applications
- Aircraft attitude systems and autopilots
Vector and Quaternion types are copy.
For Compatibility with no_std tgts, eg embedded. Use the no_std
feature. For computer-graphics
functionality (e.g. specialty matrix constructors, and [de]serialization to byte arrays), use the computer_graphics
feature.
Do not run cargo fmt
on this code base; the macro used to prevent duplication of code between f32
and f64` mules causes undesirable behavior.
For information on practical quaternion operations: Quaternions: A practical guide
See the official documention (Linked above) for details. Below is a brief, impractical syntax overview:
use TAU;
use ;