Omath
Cross-platform modern general purpose game/mods/cheats development framework written in C++23.
Install / Use
/learn @orange-cpp/OmathREADME

OMath is a 100% independent, constexpr template blazingly fast math/physics/games/mods/cheats development framework that doesn't have legacy C++ code.
It provides the latest features, is highly customizable, has all for cheat development, DirectX/OpenGL/Vulkan support, premade support for different game engines, much more constexpr stuff than in other libraries and more... <br> <br>
<kbd> <br> Install <br> </kbd> <kbd> <br> Examples <br> </kbd> <kbd> <br> Documentation <br> </kbd> <kbd> <br> Contribute <br> </kbd> <kbd> <br> Donate <br> </kbd>
<br> </div> <div align = center> <a href="https://www.star-history.com/#orange-cpp/omath&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=orange-cpp/omath&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=orange-cpp/omath&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=orange-cpp/omath&type=Date" /> </picture> </a> </div>
Quick Example
#include <omath/omath.hpp>
using namespace omath;
// 3D vector operations
Vector3<float> a{1, 2, 3};
Vector3<float> b{4, 5, 6};
auto dot = a.dot(b); // 32.0
auto cross = a.cross(b); // (-3, 6, -3)
auto distance = a.distance_to(b); // ~5.196
auto normalized = a.normalized(); // Unit vector
// World-to-screen projection (Source Engine example)
using namespace omath::source_engine;
Camera camera(position, angles, viewport, fov, near_plane, far_plane);
if (auto screen = camera.world_to_screen(world_position)) {
// Draw at screen->x, screen->y
}
See more examples and tutorials
Features
- Efficiency: Optimized for performance, ensuring quick computations using AVX2.
- Versatility: Includes a wide array of mathematical functions and algorithms.
- Ease of Use: Simplified interface for convenient integration into various projects.
- Projectile Prediction: Projectile prediction engine with O(N) algo complexity, that can power you projectile aim-bot.
- 3D Projection: No need to find view-projection matrix anymore you can make your own projection pipeline.
- Collision Detection: Production ready code to handle collision detection by using simple interfaces.
- No Additional Dependencies: No additional dependencies need to use OMath except unit test execution
- Ready for meta-programming: Omath use templates for common types like Vectors, Matrixes etc, to handle all types!
- Engine support: Supports coordinate systems of Source, Unity, Unreal, Frostbite, IWEngine, CryEngine and canonical OpenGL.
- Cross platform: Supports Windows, MacOS and Linux.
- Algorithms: Has ability to scan for byte pattern with wildcards in ELF/Mach-O/PE files/modules, binary slices, works even with Wine apps.
- Scripting: Supports to make scripts in Lua out of box.
- Handy: Allow to design wall hacks in modern jetpack compose like way.
- Battle tested: It's already used by some big players on the market like wraith.su and bluedream.ltd
Gallery
<br> <br>




Documentation
- Getting Started Guide - Installation and first steps
- API Overview - Complete API reference
- Tutorials - Step-by-step guides
- FAQ - Common questions and answers
- Troubleshooting - Solutions to common issues
- Best Practices - Guidelines for effective usage
Community & Support
- Discord: Join our community
- Telegram: @orangennotes
- Issues: Report bugs or request features
- Contributing: See CONTRIBUTING.md for guidelines
Acknowledgments
<!----------------------------------{ Images }---------------------------------> <!----------------------------------{ Buttons }--------------------------------->Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

