Header-only SIMD math library for real-time engines
Designed for:
- Game Engines
- Rendering Pipelines
- Physics Systems
- High-performance tools
- SSE4.1 + AVX2 support
- Automatic fallback
- Zero-overhead abstraction
- Vec2 / Vec3 / Vec4
- Dot, Cross, Normalize
- Lerp, Clamp, Min/Max
- Rotation (QuatMul)
- Slerp (high precision)
- Axis-angle conversion
- Vector rotation
- Transform (TRS)
- Inverse (fully correct SIMD implementation)
- Determinant
- Transpose
- TransformPoint / TransformDir
- Perspective
- Orthographic
- LookAt
- Ray vs AABB (SIMD optimized)
- Ray vs Sphere
- Ray vs Triangle (Möller–Trumbore)
- Frustum Culling
- Vec4SoA (8-wide AVX)
- Batch Add / Mul / Dot
add_subdirectory(flame_math)
target_link_libraries(your_project PRIVATE flame_math)