#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

#942 in Math

Download history 5/week @ 2024-09-22 140/week @ 2024-09-29 16/week @ 2024-10-06 9/week @ 2024-10-13 1/week @ 2024-10-20 112/week @ 2024-11-17

112 downloads per month
Used in graphics

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