Low cortisol generic math library
Find a file
2026-08-06 00:20:25 +01:00
src Added generic constants to vec and fromHex, toHex for Color 2026-08-06 00:20:25 +01:00
.gitignore HelloWorld 2026-07-30 19:48:03 +01:00
build.zig HelloWorld 2026-07-30 19:48:03 +01:00
build.zig.zon HelloWorld 2026-07-30 19:48:03 +01:00
README.md Added [Euler, Quat] 2026-07-30 20:35:36 +01:00

NYXMath

Low cortisol comptime generic math library for game dev / game engines. Yes.

Coord System: Vulkan

Includes

// --- GENERICS ---
pub const Vec = @import("vec.zig").Vec;
pub const Mat = @import("mat.zig").Mat;
pub const Quat = @import("quat.zig").Quat;
pub const Euler = @import("euler.zig").Euler;
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);