Bienvenue à MAG

MAG (Mathematics and Graphics) is a modern-cpp math library built for use in 3D graphics. The library targets C++20 and newer, uses C++ modules, and ships a compact API for vector math, matrix math, transform helpers, constants, and optional SIMD acceleration.

Fonctionnalités

  • A single public module import: import mag;

  • Vector types for 2D, 3D, and 4D math

  • Matrix types and transform helpers for graphics workflows

  • Optional SIMD types and helpers when SIMD support is enabled at build time

  • CMake integration for both in-tree and dependency-based builds

Pour commencer