Skip to content

Conversation

@orange-cpp
Copy link
Owner

Implements a math library tailored for Unreal Engine, providing essential mathematical functions and data structures:

  • Introduces camera and projection functionalities.
  • Includes matrix and vector operations optimized for Unreal Engine's coordinate system.
  • Defines angle representations with clamping and normalization.
  • Adds .idea/ folder to .gitignore

Fixes view angle matrix order

Adds Unreal Engine-specific implementations for camera and projectile prediction calculations.

This includes:
- Defining constants and data types tailored for Unreal Engine's coordinate system and conventions.
- Implementing functions for calculating forward, right, and up vectors, view matrices, and perspective projection matrices.
- Providing camera trait for look-at angle calculations and projection matrix generation.
- Implements projectile prediction traits and utilities.
Adds the standard .idea/ folder contents to the .gitignore file.

This prevents project-specific IDE settings and workspace files from being tracked by Git, keeping the repository cleaner and avoiding potential conflicts between developers using different IDE configurations.
The view angle rotation matrix order in Unreal Engine was incorrect, leading to incorrect camera orientation.

This commit fixes the order of rotation matrices to roll, pitch, yaw
to correctly implement Unreal Engine camera rotations.

Adds comprehensive unit tests for Unreal Engine formulas, camera and constants.

Marks Unreal Engine as supported in README.md.
@orange-cpp orange-cpp self-assigned this Aug 25, 2025
Corrects namespace naming from unity_engine to unreal_engine.

Adjusts projectile prediction and angle calculations for accuracy
in Unreal Engine environments.
@orange-cpp orange-cpp merged commit d83a812 into main Aug 25, 2025
3 checks passed
@orange-cpp orange-cpp deleted the feature/unreal-support branch August 25, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants