#matrix #graphics #gamedev #floating-point #rotor #square-matrix

chikage

Simple, easy to understand and barebones math library for game and graphics development

1 unstable release

0.1.0 Nov 29, 2023

#343 in Rendering

MIT license

145KB
4.5K SLoC

MIT License build workflow

chikage

Simple, easy to understand and barebones math library for game and graphics development.

⚠️ early in development ⚠️

Features

  • 2-4D floating point vectors
  • Square floating point matrices of orders 2-4

Goals

  • Simple and easy to understand code
    • No macros
    • No simd
    • No obscure optimizations
    • Documented functionality
  • Barebones
  • Comprehensive unit tests
  • No dependencies (only for specific features) (exception: std)

Planned features

  • ✅ 2-4D floating point vectors
  • ✅ floating point square matrices of order 2-4
  • ⬜️ Geometric algebra in 2-4D (details to be decided)
  • (Featureset is open ended)

lib.rs:

Simple, easy to understand and barebones math library for game and graphics development.

No runtime deps