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

chikage

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

2 unstable releases

new 0.2.0 Dec 17, 2024
0.1.0 Nov 29, 2023

#220 in Rendering

MIT license

150KB
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.

Dependencies

~245KB