-
Notifications
You must be signed in to change notification settings - Fork 14
Omath v4 #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Omath v4 #65
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit introduces support for C++20 modules by: - Adding module files (*.ixx) to the build process. - Updating the CMake configuration to handle modules correctly. - Moves Vector2/3/4 to module files - Adds a matrix module with common matrix operations This also includes modernizing the CMake configuration: - Bump cmake version to 3.31 to support modules - Adding install directories to be GNU compliant - Add install rules for modules - Remove vector3 include from vector2 header.
Migrates the project to use C++20 modules for improved build times and code organization. This change involves: - Converting header files to module interface units (.ixx). - Updating CMakeLists.txt to disable unity builds. - Removing redundant includes. - Modifying namespaces and import statements to align with module structure.
Removes the unnecessary `omath` namespace prefix from several files to improve code readability and maintainability. The `std::formatter` specialization for Vector2 is updated to include a CharT template parameter, providing improved compatibility with different character types.
Converts IW Engine related headers and source files to modern C++ modules. This change improves compilation times and encapsulation.
Introduces a projectile prediction engine with a legacy implementation. This engine provides functionality to calculate the aim point for projectiles, taking into account target movement, gravity, and projectile properties. It uses a simulation approach to find the optimal launch angle. The engine is designed with an interface for easier extension and future implementations.
Introduces a new trait for projectile prediction specifically tailored for the IW Engine. The new trait offers specialized methods for calculating projectile and target positions, handling 2D distances, and determining viewpoint angles, addressing the specific needs of the IW Engine's projectile prediction system. Also, refactors the legacy prediction engine to use the new IW Engine trait.
Migrates game engine-specific code (IW, OpenGL, Source, Unity) to C++ modules for improved modularity, compilation times, and code organization. Removes old header files and source files, replacing them with module interface units (.ixx). This change enhances the project's structure and maintainability by leveraging modern C++ module features.
migrated to modules
f76533f to
223e36d
Compare
b228210 to
a616d5c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.