Commit Graph

405 Commits

Author SHA1 Message Date
6c5c86b850 Refactors projectile prediction engine
Refactors the projectile prediction engine by introducing an interface
and making the legacy implementation more flexible.

The legacy engine is updated to allow for coordinate system customization
through virtual methods, enabling usage in different game environments.

Also introduces vcpkg support for easier dependency management and adds boost-asio as a dependency.
2025-08-03 17:33:22 +03:00
da528d2884 Documents projectile launch angle formula
Adds a comment documenting the formula used for calculating the projectile launch pitch angle.

The comment includes a link to the Stack Overflow discussion where the formula was found and the LaTeX representation of the formula for clarity.
2025-07-31 21:52:16 +03:00
095519e035 Merge pull request #49 from orange-cpp/feature/legacy_option
Adds option to enable legacy classes
2025-07-15 11:52:36 +03:00
0fe5b6b7a1 Enables legacy code compilation
The changes encapsulate the matrix tests within an `#ifdef` block, allowing conditional compilation based on whether `OMATH_ENABLE_LEGACY` is defined. This enables the legacy code to be compiled only when needed.
2025-07-15 11:51:14 +03:00
b82106a565 Adds option to enable legacy classes
Introduces a CMake option to enable legacy classes,
allowing for backward compatibility with older code.
This ensures that older codebases can still function
while new development can utilize updated classes.
2025-07-15 11:48:33 +03:00
0cae66b9c7 Update README.md 2025-07-14 23:11:46 +03:00
b621308346 Merge pull request #48 from luadebug/patch-1
Update INSTALL.md
2025-07-14 23:10:39 +03:00
Saikari
bd2b14c047 Update INSTALL.md 2025-07-14 18:53:41 +03:00
1ff591ff48 Update README.md
fixed ordering
2025-07-14 17:39:16 +03:00
f8f746bfbb Update README.md
made badge in read me smaller
2025-07-14 17:38:50 +03:00
cadb2b6285 Merge pull request #47 from luadebug/patch-1
Update README.md

Thx for vcpkg port update <3 u r already in CREDITS.md
2025-07-14 17:37:12 +03:00
Saikari
0ee4db4c5b Update README.md 2025-07-14 16:25:16 +03:00
5425b60f6e Update README.md 2025-07-08 17:14:52 +03:00
30d8db8b36 Update README.md 2025-07-08 17:13:24 +03:00
2bc23d42c0 Update README.md 2025-07-08 17:01:56 +03:00
e68ca673c9 Renames test fixture for clarity.
Updates the name of the test fixture from "lline_tracer_fixture" to "line_tracer_fixture" for improved readability and consistency in the test code.
2025-07-07 08:28:29 +03:00
77bf19da2d Fixes potential compile error
Corrects the usage of `At` method within the unit tests to `at` to resolve a potential compile error due to incorrect case sensitivity.
2025-07-07 08:18:00 +03:00
63d9ea903e fixed naming in tests v3.0.3 2025-07-07 08:02:35 +03:00
90f6f8eb47 Merge pull request #45 from luadebug/patch-1
Check for ImGUI dependency in omathConfig.cmake.in
2025-07-07 05:30:19 +03:00
Saikari
d187cd67d4 Update omathConfig.cmake.in 2025-07-07 04:53:56 +03:00
f489ec7a85 Updates CMake export target and namespace.
Updates the CMake export target and namespace to use the project name,
improving consistency and avoiding naming conflicts.

Adds a simple diagram to the triangle header file.
2025-07-06 11:14:46 +03:00
cc2754a985 Renames library target to project name
Updates the CMakeLists.txt to use the project name as the library target name instead of hardcoding "omath".

This change ensures consistency and avoids potential conflicts when integrating the library into other projects.
It also aligns the target naming with CMake best practices.
2025-07-06 11:07:15 +03:00
efca121348 added new method 2025-06-23 06:14:17 +03:00
6b900f2855 fix 2025-06-17 21:34:25 +03:00
681ea99d7b added banner to repo 2025-06-17 21:33:39 +03:00
d196e4d9a8 fixed example 2025-06-16 01:40:14 +03:00
750647a9d5 Merge pull request #39 from orange-cpp/u/orange-cpp/writerside
U/orange cpp/writerside
2025-05-21 16:58:19 +03:00
37e1ac7b88 fixed stuff 2025-05-21 16:57:17 +03:00
77fcb6faa4 added text 2025-05-21 16:47:15 +03:00
e95567c82c fix 2025-05-21 16:47:15 +03:00
ac3266644b fix 2025-05-21 16:47:15 +03:00
15463ba09c improved intro 2025-05-21 16:47:15 +03:00
ef4157ffbb added new topic 2025-05-21 16:47:15 +03:00
4c4d6c87ba stipped away text 2025-05-21 16:47:15 +03:00
69a0323097 added files 2025-05-21 16:47:15 +03:00
b989c66088 fixed version 2025-05-13 09:48:46 +03:00
fb7cb0e800 improved naming 2025-05-13 09:47:08 +03:00
e2322960b7 added noexcept 2025-05-13 09:34:39 +03:00
c8963668f3 removed even float type from vector classes 2025-05-13 09:22:23 +03:00
91525ac149 Merge pull request #44 from orange-cpp/feature/noexcept
Feature/noexcept
2025-05-05 02:34:43 +03:00
505fe6f3a8 added more noexcept 2025-05-05 02:24:23 +03:00
ba2c60389f added more noexcept 2025-05-05 01:46:50 +03:00
45c7ff131f added noexcept 2025-05-05 01:16:12 +03:00
27b130345c added noexcept for color and angles 2025-05-04 19:16:49 +03:00
c9796e4145 added noexcept for vector types 2025-05-04 19:13:26 +03:00
4b14e1902b changed license to zlib 2025-05-04 19:05:10 +03:00
399ded102d removed useless source files 2025-05-04 19:03:18 +03:00
ef93e9904c fixed style 2025-05-04 18:54:33 +03:00
1d22901bf5 removed pow 2025-05-04 18:07:35 +03:00
8b8ed495d5 fixed clang format 2025-05-04 17:42:32 +03:00