rgla

Crates.iorgla
lib.rsrgla
version0.1.0
sourcesrc
created_at2024-06-21 00:14:17.051757
updated_at2024-06-21 00:14:17.051757
descriptionA linear algebra library for graphics that implements rotors instead of quaternions.
homepage
repository
max_upload_size
id1278930
size29,979
(kdxiao)

documentation

README

rgla - Rust Graphical Linear Algebra

I wrote this linear algebra library to familiarize myself with the graphics pipeline. It's quite unoptimized at the moment.

Features

  • Mat4: 4x4 Matrices
  • Mat3: 3x3 Matrices
  • Mat2: 2x2 Matrices
  • Vec4: 4D Vectors
  • Vec3: 3D Vectors
  • Vec2: 2D Vectors
  • Rotors
  • Bivectors
  • Transformations

Novelty

The novelty of this library is that it implements rotors (instead of quaternions) to represent rotation. They do pretty much the same thing and have almost the same interface, but rotors make much more sense to think about.

Credits

Heavily inspired by glam-rs.

Commit count: 0

cargo fmt