NYXMath/README.md

28 lines
645 B
Markdown
Raw Permalink Normal View History

2026-07-30 19:48:03 +01:00
## NYXMath
Low cortisol comptime generic math library for game dev / game engines. Yes.
Coord System: Vulkan
# Includes
```zig
// --- GENERICS ---
pub const Vec = @import("vec.zig").Vec;
pub const Mat = @import("mat.zig").Mat;
2026-07-30 20:35:36 +01:00
pub const Quat = @import("quat.zig").Quat;
pub const Euler = @import("euler.zig").Euler;
2026-07-30 19:48:03 +01:00
pub const Color = @import("color.zig").Color;
// --- VEC2 ---
pub const Vec2 = Vec(i32, 2);
pub const Vec2f = Vec(f32, 2);
// --- VEC3 ---
pub const Vec3 = Vec(i32, 3);
pub const Vec3f = Vec(f32, 3);
// --- MAT ---
pub const Mat2x2 = Mat(f32, 2, 2);
pub const Mat3x3 = Mat(f32, 3, 3);
pub const Mat4x4 = Mat(f32, 4, 4);
```