Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7534fe8969 | |||
| 8e4f1812cc | |||
| e8f40218dd | |||
| 50054ca937 | |||
| 63220c0be7 | |||
| 3b6d19782c | |||
| 2d58330508 | |||
| abf57a55ea | |||
| 463532ba81 | |||
| d74c66990a |
BIN
.github/images/logos/omath_logo_macro.png
vendored
Normal file
|
After Width: | Height: | Size: 117 KiB |
BIN
.github/images/logos/omath_logo_mega.png
vendored
Normal file
|
After Width: | Height: | Size: 454 KiB |
BIN
.github/images/logos/omath_logo_micro.png
vendored
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
.github/images/logos/omath_logo_nano.png
vendored
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
.github/images/showcase/apex.png
vendored
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
.github/images/showcase/cod_bo2.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
.github/images/showcase/cs2.jpeg
vendored
Normal file
|
After Width: | Height: | Size: 644 KiB |
BIN
.github/psd/omath.psd
vendored
Normal file
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Thanks to everyone who made this possible, including:
|
Thanks to everyone who made this possible, including:
|
||||||
|
|
||||||
- Saikari aka luadebug for VCPKG port.
|
- Saikari aka luadebug for VCPKG port and awesome new initial logo design.
|
||||||
|
|
||||||
And a big hand to everyone else who has contributed over the past!
|
And a big hand to everyone else who has contributed over the past!
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div align = center>
|
<div align = center>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
@@ -83,11 +83,11 @@ for (auto ent: apex_sdk::EntityList::GetAllEntities())
|
|||||||
|
|
||||||
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/).
|
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/).
|
||||||
|
|
||||||

|

|
||||||
Or for InfinityWard Engine based games. Like Call of Duty Black Ops 2!
|
Or for InfinityWard Engine based games. Like Call of Duty Black Ops 2!
|
||||||

|

|
||||||
Or create simple trigger bot with embeded traceline from omath::collision::LineTrace
|
Or create simple trigger bot with embeded traceline from omath::collision::LineTrace
|
||||||

|

|
||||||
Or even advanced projectile aimbot
|
Or even advanced projectile aimbot
|
||||||
[Watch Video](https://youtu.be/lM_NJ1yCunw?si=5E87OrQMeypxSJ3E)
|
[Watch Video](https://youtu.be/lM_NJ1yCunw?si=5E87OrQMeypxSJ3E)
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
@@ -3,10 +3,9 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <array>
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include "omath/triangle.hpp"
|
#include "omath/triangle.hpp"
|
||||||
#include "omath/vector3.hpp"
|
#include <array>
|
||||||
|
|
||||||
|
|
||||||
namespace omath::primitives
|
namespace omath::primitives
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include "omath/triangle.hpp"
|
#include "omath/triangle.hpp"
|
||||||
#include "omath/vector3.hpp"
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
namespace omath::primitives
|
namespace omath::primitives
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include "omath/triangle.hpp"
|
#include "omath/triangle.hpp"
|
||||||
#include "omath/vector3.hpp"
|
|
||||||
|
|
||||||
namespace omath::collision
|
namespace omath::collision
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,8 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "omath/vector3.hpp"
|
#include "linear_algebra/vector4.hpp"
|
||||||
#include "omath/vector4.hpp"
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace omath
|
namespace omath
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <omath/angle.hpp>
|
#include <omath/angle.hpp>
|
||||||
#include <omath/mat.hpp>
|
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
#include <omath/view_angles.hpp>
|
#include <omath/view_angles.hpp>
|
||||||
|
|
||||||
namespace omath::iw_engine
|
namespace omath::iw_engine
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <omath/angle.hpp>
|
#include <omath/angle.hpp>
|
||||||
#include <omath/mat.hpp>
|
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
#include <omath/view_angles.hpp>
|
#include <omath/view_angles.hpp>
|
||||||
|
|
||||||
namespace omath::opengl_engine
|
namespace omath::opengl_engine
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <omath/angle.hpp>
|
#include <omath/angle.hpp>
|
||||||
#include <omath/mat.hpp>
|
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
#include <omath/view_angles.hpp>
|
#include <omath/view_angles.hpp>
|
||||||
|
|
||||||
namespace omath::source_engine
|
namespace omath::source_engine
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <omath/angle.hpp>
|
#include <omath/angle.hpp>
|
||||||
#include <omath/mat.hpp>
|
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
#include <omath/view_angles.hpp>
|
#include <omath/view_angles.hpp>
|
||||||
|
|
||||||
namespace omath::unity_engine
|
namespace omath::unity_engine
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <omath/angle.hpp>
|
#include <omath/angle.hpp>
|
||||||
#include <omath/mat.hpp>
|
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
#include <omath/view_angles.hpp>
|
#include <omath/view_angles.hpp>
|
||||||
|
|
||||||
namespace omath::unreal_engine
|
namespace omath::unreal_engine
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Created by vlad on 9/29/2024.
|
// Created by vlad on 9/29/2024.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "omath/vector3.hpp"
|
#include "vector3.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
@@ -11,13 +11,6 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#ifdef near
|
|
||||||
#undef near
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef far
|
|
||||||
#undef far
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace omath
|
namespace omath
|
||||||
{
|
{
|
||||||
@@ -88,7 +81,7 @@ namespace omath
|
|||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
constexpr Type& operator[](const size_t row, const size_t col) const
|
constexpr const Type& operator[](const size_t row, const size_t col) const
|
||||||
{
|
{
|
||||||
return at(row, col);
|
return at(row, col);
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,22 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef OMATH_ENABLE_LEGACY
|
/*
|
||||||
|
THIS CODE IS DEPRECATED NEVER EVER USE Matrix CLASS
|
||||||
|
AND VERY SLOW USE Mat INSTEAD!!!!!!!!!!!
|
||||||
|
⠛⠛⣿⣿⣿⣿⣿⡷⢶⣦⣶⣶⣤⣤⣤⣀⠀⠀⠀
|
||||||
|
⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀
|
||||||
|
⠀⠀⠀⠉⠉⠉⠙⠻⣿⣿⠿⠿⠛⠛⠛⠻⣿⣿⣇⠀
|
||||||
|
⠀⠀⢤⣀⣀⣀⠀⠀⢸⣷⡄⠀⣁⣀⣤⣴⣿⣿⣿⣆
|
||||||
|
⠀⠀⠀⠀⠹⠏⠀⠀⠀⣿⣧⠀⠹⣿⣿⣿⣿⣿⡿⣿
|
||||||
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⠇⢀⣼⣿⣿⠛⢯⡿⡟
|
||||||
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠦⠴⢿⢿⣿⡿⠷⠀⣿⠀
|
||||||
|
⠀⠀⠀⠀⠀⠀⠀⠙⣷⣶⣶⣤⣤⣤⣤⣤⣶⣦⠃⠀
|
||||||
|
⠀⠀⠀⠀⠀⠀⠀⢐⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀
|
||||||
|
⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀
|
||||||
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⢿⣿⣿⣿⣿⠟⠁
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef OMATH_ENABLE_LEGACY
|
||||||
#include "omath/vector3.hpp"
|
#include "omath/vector3.hpp"
|
||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@@ -3,7 +3,6 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "vector3.hpp"
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <format>
|
#include <format>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "omath/angle.hpp"
|
#include "omath/angle.hpp"
|
||||||
#include "omath/vector2.hpp"
|
#include "omath/linear_algebra/vector2.hpp"
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <expected>
|
#include <expected>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <omath/vector3.hpp>
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
|
|
||||||
namespace omath
|
namespace omath
|
||||||
{
|
{
|
||||||
@@ -10,13 +10,13 @@
|
|||||||
#include "omath/angle.hpp"
|
#include "omath/angle.hpp"
|
||||||
|
|
||||||
// Vector classes (in dependency order)
|
// Vector classes (in dependency order)
|
||||||
#include "omath/vector2.hpp"
|
#include "omath/linear_algebra/vector2.hpp"
|
||||||
#include "omath/vector3.hpp"
|
#include "omath/linear_algebra/vector4.hpp"
|
||||||
#include "omath/vector4.hpp"
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
|
|
||||||
// Matrix classes
|
// Matrix classes
|
||||||
#include "omath/mat.hpp"
|
#include "linear_algebra/matrix.hpp"
|
||||||
#include "omath/matrix.hpp"
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
|
||||||
// Color functionality
|
// Color functionality
|
||||||
#include "omath/color.hpp"
|
#include "omath/color.hpp"
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include "omath/pathfinding/navigation_mesh.hpp"
|
#include "omath/pathfinding/navigation_mesh.hpp"
|
||||||
#include "omath/vector3.hpp"
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace omath::pathfinding
|
namespace omath::pathfinding
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "omath/vector3.hpp"
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <expected>
|
#include <expected>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
// Created by Vlad on 2/23/2025.
|
// Created by Vlad on 2/23/2025.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include "omath/projectile_prediction/projectile.hpp"
|
#include "omath/projectile_prediction/projectile.hpp"
|
||||||
#include "omath/projectile_prediction/target.hpp"
|
#include "omath/projectile_prediction/target.hpp"
|
||||||
#include "omath/vector3.hpp"
|
|
||||||
|
|
||||||
namespace omath::projectile_prediction
|
namespace omath::projectile_prediction
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include "omath/engines/source_engine/traits/pred_engine_trait.hpp"
|
#include "omath/engines/source_engine/traits/pred_engine_trait.hpp"
|
||||||
#include "omath/projectile_prediction/proj_pred_engine.hpp"
|
#include "omath/projectile_prediction/proj_pred_engine.hpp"
|
||||||
#include "omath/projectile_prediction/projectile.hpp"
|
#include "omath/projectile_prediction/projectile.hpp"
|
||||||
#include "omath/projectile_prediction/target.hpp"
|
#include "omath/projectile_prediction/target.hpp"
|
||||||
#include "omath/vector3.hpp"
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
namespace omath::projectile_prediction
|
namespace omath::projectile_prediction
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "omath/vector3.hpp"
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
|
|
||||||
namespace omath::projectile_prediction
|
namespace omath::projectile_prediction
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "omath/vector3.hpp"
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
|
|
||||||
namespace omath::projectile_prediction
|
namespace omath::projectile_prediction
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,10 +5,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "omath/projection/error_codes.hpp"
|
#include "omath/projection/error_codes.hpp"
|
||||||
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <expected>
|
#include <expected>
|
||||||
#include <omath/angle.hpp>
|
#include <omath/angle.hpp>
|
||||||
#include <omath/mat.hpp>
|
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
namespace omath::projection
|
namespace omath::projection
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Created by Orange on 11/13/2024.
|
// Created by Orange on 11/13/2024.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "omath/vector3.hpp"
|
#include "linear_algebra/vector3.hpp"
|
||||||
|
|
||||||
namespace omath
|
namespace omath
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
// Revised unit‑test suite for LineTracer (segment‑based Möller–Trumbore)
|
// Revised unit‑test suite for LineTracer (segment‑based Möller–Trumbore)
|
||||||
// Pure ASCII: avoids non‑standard characters that MSVC rejects.
|
// Pure ASCII: avoids non‑standard characters that MSVC rejects.
|
||||||
//
|
//
|
||||||
#include "gtest/gtest.h"
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include "omath/collision/line_tracer.hpp"
|
#include "omath/collision/line_tracer.hpp"
|
||||||
#include "omath/triangle.hpp"
|
#include "omath/triangle.hpp"
|
||||||
#include "omath/vector3.hpp"
|
#include "gtest/gtest.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// UnitTestMat.cpp
|
// UnitTestMat.cpp
|
||||||
|
#include "omath/linear_algebra/mat.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include "omath/mat.hpp"
|
|
||||||
#include "omath/vector3.hpp"
|
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
//
|
//
|
||||||
// Created by Orange on 1/6/2025.
|
// Created by Orange on 1/6/2025.
|
||||||
//
|
//
|
||||||
|
#include "omath/triangle.hpp"
|
||||||
|
#include "omath/linear_algebra/vector3.hpp"
|
||||||
#include <cmath> // For std::sqrt, std::isinf, std::isnan
|
#include <cmath> // For std::sqrt, std::isinf, std::isnan
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
#include "omath/triangle.hpp"
|
|
||||||
|
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
// Created by Vlad on 02.09.2024.
|
// Created by Vlad on 02.09.2024.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <omath/linear_algebra/vector2.hpp>
|
||||||
#include <cfloat> // For FLT_MAX and FLT_MIN
|
#include <cfloat> // For FLT_MAX and FLT_MIN
|
||||||
#include <cmath> // For std::isinf and std::isnan
|
#include <cmath> // For std::isinf and std::isnan
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/vector2.hpp>
|
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
// Created by Vlad on 01.09.2024.
|
// Created by Vlad on 01.09.2024.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <omath/linear_algebra/vector3.hpp>
|
||||||
#include <cfloat> // For FLT_MAX, FLT_MIN
|
#include <cfloat> // For FLT_MAX, FLT_MIN
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <limits> // For std::numeric_limits
|
#include <limits> // For std::numeric_limits
|
||||||
#include <omath/vector3.hpp>
|
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
// Vector4Test.cpp
|
// Vector4Test.cpp
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <omath/linear_algebra/vector4.hpp>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <limits> // For std::numeric_limits
|
#include <limits> // For std::numeric_limits
|
||||||
#include <omath/vector4.hpp>
|
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||