#transformation #linear #affine #matrix #transform #linear-algebra #3d

nightly affine_transforms

(Pre Release Package) Does linear transformations in R3

4 releases (2 breaking)

Uses old Rust 2015

0.3.0 Jan 15, 2020
0.2.0 Jun 12, 2018
0.1.1 Jun 11, 2018
0.1.0 Jun 11, 2018

#2339 in Algorithms

MIT license

38KB
1K SLoC

Affine Transforms

This package is in development and isn't yet fully documented for public use.

Design principles

There are a couple of design goals I have with this project:

  1. Everything is immutable (for example, multiplying one vector by another always gives you a new vector)
  2. Everything is 3D. If you want 2D - use the XY plane.
    • It's super easy to go from 2D to 3D is you were secretly already in 3D!
  3. Specific. This is a 3D linear transforms library, not a linear algebra library
    • For example, matrix multiplication and inversion are only handled for the case of 4x4 affine matrices

Dependencies

~1MB
~25K SLoC