mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
71 lines
2.7 KiB
Markdown
71 lines
2.7 KiB
Markdown
<div align = center>
|
|
|
|

|
|
|
|

|
|

|
|

|
|
[](https://www.codefactor.io/repository/github/orange-cpp/omath)
|
|

|
|
</div>
|
|
|
|
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.
|
|
|
|
## Getting Started
|
|
### Prerequisites
|
|
- C++ Compiler
|
|
- CMake (for building the project)
|
|
|
|
### Installation
|
|
1. Clone the repository:
|
|
```
|
|
git clone https://github.com/orange-cpp/omath.git
|
|
```
|
|
2. Navigate to the project directory:
|
|
```
|
|
cd omath
|
|
```
|
|
3. Build the project using CMake:
|
|
```
|
|
cmake --preset x64-release -S .
|
|
cmake --build cmake-build/build/x64-release --target server -j 6
|
|
```
|
|
|
|
## Usage
|
|
Simple world to screen function
|
|
```c++
|
|
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());
|
|
}
|
|
```
|
|
|
|
<details>
|
|
<summary>OMATH for making cheats</summary>
|
|
|
|
With `omath/projection` module you can achieve simple ESP hack for powered by Source/Unreal/Unity engine games, like [Apex Legends](https://store.steampowered.com/app/1172470/Apex_Legends/).
|
|
|
|

|
|
|
|
|
|
</details>
|
|
|
|
## 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 GPL V3 - see the `LICENSE` file for details.
|
|
|
|
## Acknowledgments
|
|
- Orange | [Telegram](https://t.me/orange_cpp)
|