#vector-math #graphics #quaternions #vector #matrix-vector

no-std lin-alg2

Vector and quaternion operations for general purposes

3 releases (1 stable)

new 1.0.0 Nov 20, 2024
0.1.1 Oct 2, 2024
0.1.0 Sep 23, 2022

#648 in Math

MIT license

50KB
961 lines

Vector and quaternion functionality for general purposes, and computer graphics.

Crate Docs

Uses f32 and f64 based types.

Example use cases:

  • Computer graphics
  • Biomechanics
  • Structural chemistry and biochemistry
  • Aircraft attitude systems and autopilots

Compatibility with no_std tgts, eg embedded. Use the no_std feature.

For some info on quaternion operations: Quaternions: A practical guide


lib.rs:

Vector, matrix, and quatenrion operations on $f

Module for matrices, vectors, and quaternions, as used in 3d graphics, geometry, and aircraft attitude systems. Similar to the cgmath and glam crates, but with a more transparent API. This elegant lib may also be used as a cross-check.

Quaternion operations use the Hamilton (vice JPL) convention.

Dependencies

~97KB