mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
480d11dbc0c3405e54cf7e97ff7c5b7ed6c9a355
Oranges's Math Library (omath) is a comprehensive, open-source library aimed at providing efficient, reliable, and versatile mathematical functions and algorithms. Developed primarily in C++, this library is designed to cater to a wide range of mathematical operations essential in scientific computing, engineering, and academic research.
Features
- Efficiency: Optimized for performance, ensuring quick computations.
- 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
Getting Started
Prerequisites
- C++ Compiler
- CMake (for building the project)
Installation
- Clone the repository:
git clone https://github.com/orange-cpp/omath.git - Navigate to the project directory:
cd omath - Build the project using CMake:
Use <platform>-<build configuration> preset to build siutable version for yourself. Like windows-release or linux-release.
cmake --preset windows-release -S . cmake --build cmake-build/build/windows-release --target server -j 6
Usage
Simple world to screen function
TEST(UnitTestProjection, IsPointOnScreen)
{
const omath::projection::Camera camera({0.f, 0.f, 0.f}, {0, 0.f, 0.f} , {1920.f, 1080.f}, 110.f, 0.1f, 500.f);
const auto proj = camera.WorldToScreen({100, 0, 15});
EXPECT_TRUE(proj.has_value());
}
OMATH for making cheats
With omath/projection module you can achieve simple ESP hack for powered by Source/Unreal/Unity engine games, like Apex Legends.
Contributing
Contributions to omath are welcome! Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
License
This project is licensed under the MIT - see the LICENSE file for details.
Acknowledgments
- Orange | Telegram
Description
Cross-platform modern general purpose math library written in C++23 that suitable for cheat/game development.
https://libomath.org
3dcheatcheat-developmentcpp23game-developmentgame-hackinggamedeviwmathmatrixesopenglopengl3physicsprojectile-motion-simulationsource-engineunityunity3dunreal-engine
Readme
Zlib
14 MiB
Languages
C++
94%
CMake
4.1%
Shell
1.4%
Lua
0.5%

