Commit Graph

114 Commits

Author SHA1 Message Date
28b3aecf9d Adds Unreal Engine math implementations
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.
2025-08-25 21:30:35 +03:00
e6627c7a06 Improves test accuracy and adds .gitignore entry
Updates unit tests to include more accurate assertions for camera projections.

Adds .idea/workspace.xml to .gitignore to prevent tracking local IDE settings.

Refactors some test fixture class names for consistency.
2025-08-21 00:30:05 +03:00
07de3d27ec Configures project IDE settings and improves gitignore
Adds project-specific IDE settings to improve code style consistency and development environment.

Removes the .idea directory from the .gitignore file, as these files are now intended to be part of the project for consistent IDE configuration across contributors.
2025-08-21 00:11:37 +03:00
24a80c4f14 Adds comparison operators to Vector types
Adds less than, greater than, less than or equal, and greater than or equal operators to the Vector2, Vector3 and Vector4 classes.
The comparison is based on the lengths of the vectors.

Adds corresponding unit tests.
2025-08-12 08:54:33 +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
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 2025-07-07 08:02:35 +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
7009d998af Update cmake-multi-platform.yml
switched to clang

Update cmake-multi-platform.yml
Update cmake-multi-platform.yml
Update cmake-multi-platform.yml
Update cmake-multi-platform.yml
Update cmake-multi-platform.yml
Update cmake-multi-platform.yml
Update cmake-multi-platform.yml
Update cmake-multi-platform.yml
added runtime dir

fix
2025-05-03 22:51:46 +03:00
6df9d59fe9 fixed style 2025-05-03 20:38:58 +03:00
4406e1e461 changed code style 2025-05-03 20:31:59 +03:00
01b7256e98 improved cmake, removed useless cmake files 2025-04-30 21:26:25 +03:00
4dbddd0a34 style fix 2025-04-29 20:52:41 +03:00
ef787fd4e7 added test case 2025-04-29 20:49:59 +03:00
468261d3f1 added additional methods 2025-04-29 20:10:17 +03:00
6d65e1f1c3 improved tests 2025-04-18 16:36:22 +03:00
Vladislav Alpatov
6a7d328a7c improved line tracer 2025-04-18 16:00:23 +03:00
505a8cce9a added new build option 2025-04-18 00:51:07 +03:00
5ff57f9ffa added box 2025-04-18 00:43:46 +03:00
06b891c827 improved openg gl rotation matrix, added tests 2025-04-16 19:11:02 +03:00
2bface1c49 added tests for source 2025-04-16 18:53:31 +03:00
97f38af2b5 added unit tests 2025-04-16 18:35:50 +03:00
7642936716 removed method from Mat added method for unity 2025-04-16 17:52:19 +03:00
e0d61fa486 added func
added rotation matrix for opengl

updated unit tests
2025-04-16 17:40:00 +03:00
582a591e4b fixed tests 2025-04-12 00:04:07 +03:00
7e580506b6 fixed style 2025-03-29 04:00:35 +03:00
47e8bc1a04 fixed unity view matrix building 2025-03-24 06:30:09 +03:00
58b67518b4 removed comment 2025-03-23 01:12:46 +03:00
2f2c0557c8 name fix 2025-03-23 01:06:36 +03:00
d6a399fa65 uncommented test 2025-03-23 00:52:12 +03:00
5a0e88c2ca fix 2025-03-22 17:41:01 +03:00
620ea44b06 improved camera 2025-03-22 17:39:40 +03:00
cbc0a13a79 added unity engine tests 2025-03-22 08:12:16 +03:00
d8c653d730 fixed tests includes 2025-03-21 04:58:28 +03:00
d5d1260784 changed source files naming 2025-03-21 04:30:17 +03:00
Vladislav Alpatov
5fdf3dad16 renamed headers 2025-03-21 04:17:42 +03:00
7de64c804c added alias 2025-03-19 18:50:47 +03:00
dbd7eb7d5f improved print method 2025-03-19 00:56:56 +03:00
89356546ca updated comment 2025-03-17 09:14:42 +03:00
f788a60e14 added iw engine files 2025-03-17 07:20:13 +03:00
3c104cd228 changed naming of engines section 2025-03-17 05:27:00 +03:00
Vladislav Alpatov
a68ebd9ab7 now template 2025-03-01 21:11:46 +03:00
c9bc1864bb added legacy impl 2025-02-23 10:10:35 +03:00
c42a523e6c added more classes 2025-02-23 09:57:29 +03:00
9cbf042173 added AVX2 2025-02-22 23:34:45 +03:00
79b04bed7d added unity build support 2025-02-22 23:32:29 +03:00
e789c716d1 added new method added concept for mat type 2025-02-16 10:06:04 +03:00
e007b15cc9 fix 2025-01-06 05:15:12 +03:00
e722a29e6f added some methods 2025-01-06 05:08:32 +03:00