OMATH Docs
Formulas
Initializing search
OMATH Docs
Home
API Overview
Best Practices
FAQ
Getting Started
Installation
Troubleshooting
Tutorials
3d primitives
3d primitives
omath::primitives::create_box — Build an oriented box as 12 triangles
omath::primitives::Mesh — 3D mesh with transformation support
omath::primitives::create_plane — Build an oriented quad (2 triangles)
Collision
Collision
omath::collision::Epa — Expanding Polytope Algorithm for penetration depth
omath::collision::GjkAlgorithm — Gilbert-Johnson-Keerthi collision detection
omath::collision::Ray & LineTracer — Ray–Triangle intersection (Möller–Trumbore)
omath::collision::MeshCollider — Convex hull collider for meshes
omath::collision::Simplex — Fixed-capacity simplex for GJK/EPA
Engines
Engines
Frostbite
Frostbite
omath::frostbite_engine::CameraTrait — plug-in trait for projection::Camera
Constants
Formulas
omath::frostbite_engine::MeshTrait — mesh transformation trait for Frostbite Engine
Pred engine trait
Iw engine
Iw engine
omath::iw_engine::CameraTrait — plug-in trait for projection::Camera
omath::iw_engine — types & constants
omath::iw_engine — formulas & matrix helpers
omath::iw_engine::MeshTrait — mesh transformation trait for IW Engine
omath::iw_engine::PredEngineTrait — projectile prediction trait
Opengl engine
Opengl engine
omath::opengl_engine::CameraTrait — plug-in trait for projection::Camera
omath::opengl_engine — types & constants
omath::opengl_engine — formulas & matrix helpers
omath::opengl_engine::MeshTrait — mesh transformation trait for OpenGL
omath::opengl_engine::PredEngineTrait — projectile prediction trait
Source engine
Source engine
omath::source_engine::CameraTrait — plug-in trait for projection::Camera
omath::source_engine — types & constants
omath::source_engine — formulas & matrix helpers
omath::source_engine::MeshTrait — mesh transformation trait for Source Engine
omath::source_engine::PredEngineTrait — projectile prediction trait
Unity engine
Unity engine
omath::unity_engine::CameraTrait — plug-in trait for projection::Camera
omath::unity_engine — types & constants
omath::unity_engine — formulas & matrix helpers
omath::unity_engine::MeshTrait — mesh transformation trait for Unity Engine
omath::unity_engine::PredEngineTrait — projectile prediction trait
Unreal engine
Unreal engine
omath::unreal_engine::CameraTrait — plug-in trait for projection::Camera
omath::unreal_engine — types & constants
omath::unreal_engine — formulas & matrix helpers
omath::unreal_engine::MeshTrait — mesh transformation trait for Unreal Engine
omath::unreal_engine::PredEngineTrait — projectile prediction trait
Linear algebra
Linear algebra
omath::Mat — Matrix class (C++20/23)
omath::Triangle — Simple 3D triangle utility
omath::Vector2 — 2D vector (C++20/23)
omath::Vector3 — 3D vector (C++20/23)
omath::Vector4 — 4D vector (C++20/23)
Pathfinding
Pathfinding
omath::pathfinding::Astar — Pathfinding over a navigation mesh
omath::pathfinding::NavigationMesh — Lightweight vertex graph for A*
Projectile prediction
Projectile prediction
omath::projectile_prediction::ProjPredEngineAvx2 — AVX2-accelerated ballistic aim solver
omath::projectile_prediction::ProjPredEngineLegacy — Legacy trait-based aim solver
omath::projectile_prediction::Projectile — Projectile parameters for aim solvers
omath::projectile_prediction::ProjPredEngineInterface — Aim-point solver interface
omath::projectile_prediction::Target — Target state for aim solvers
Projection
Projection
omath::projection::Camera — Generic, trait-driven camera with screen/world conversion
omath::projection::Error — Error codes for world/screen projection
Rev eng
Rev eng
omath::rev_eng::ExternalReverseEngineeredObject — typed offsets over external memory
omath::rev_eng::InternalReverseEngineeredObject — raw in-process offset/VTABLE access
Trigonometry
Trigonometry
omath::Angle — templated angle with normalize/clamper + trig
omath::angles — angle conversions, FOV helpers, and wrapping
omath::ViewAngles — tiny POD for pitch/yaw/roll
Utility
Utility
omath::Color — RGBA color with HSV helpers (C++20/23)
omath::PatternScanner — Fast byte-pattern search with wildcards
omath::PePatternScanner — Scan PE images for byte patterns
Formulas