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

no-std lin-alg2

Vector and quaternion operations for general purposes

2 releases

0.1.1 Oct 2, 2024
0.1.0 Sep 23, 2022

#868 in Math

Download history 2/week @ 2024-09-18 3/week @ 2024-09-25 149/week @ 2024-10-02 12/week @ 2024-10-09 5/week @ 2024-10-16

166 downloads per month

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