111 Commits

Author SHA1 Message Date
orange 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
orange 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
orange 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
orange 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
orange 63d9ea903e fixed naming in tests 2025-07-07 08:02:35 +03:00
orange 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
orange 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
orange 6df9d59fe9 fixed style 2025-05-03 20:38:58 +03:00
orange 4406e1e461 changed code style 2025-05-03 20:31:59 +03:00
orange 01b7256e98 improved cmake, removed useless cmake files 2025-04-30 21:26:25 +03:00
orange 4dbddd0a34 style fix 2025-04-29 20:52:41 +03:00
orange ef787fd4e7 added test case 2025-04-29 20:49:59 +03:00
orange 468261d3f1 added additional methods 2025-04-29 20:10:17 +03:00
orange 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
orange 505a8cce9a added new build option 2025-04-18 00:51:07 +03:00
orange 5ff57f9ffa added box 2025-04-18 00:43:46 +03:00
orange 06b891c827 improved openg gl rotation matrix, added tests 2025-04-16 19:11:02 +03:00
orange 2bface1c49 added tests for source 2025-04-16 18:53:31 +03:00
orange 97f38af2b5 added unit tests 2025-04-16 18:35:50 +03:00
orange 7642936716 removed method from Mat added method for unity 2025-04-16 17:52:19 +03:00
orange e0d61fa486 added func
added rotation matrix for opengl

updated unit tests
2025-04-16 17:40:00 +03:00
orange 582a591e4b fixed tests 2025-04-12 00:04:07 +03:00
orange 7e580506b6 fixed style 2025-03-29 04:00:35 +03:00
orange 47e8bc1a04 fixed unity view matrix building 2025-03-24 06:30:09 +03:00
orange 58b67518b4 removed comment 2025-03-23 01:12:46 +03:00
orange 2f2c0557c8 name fix 2025-03-23 01:06:36 +03:00
orange d6a399fa65 uncommented test 2025-03-23 00:52:12 +03:00
orange 5a0e88c2ca fix 2025-03-22 17:41:01 +03:00
orange 620ea44b06 improved camera 2025-03-22 17:39:40 +03:00
orange cbc0a13a79 added unity engine tests 2025-03-22 08:12:16 +03:00
orange d8c653d730 fixed tests includes 2025-03-21 04:58:28 +03:00
orange 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
orange 7de64c804c added alias 2025-03-19 18:50:47 +03:00
orange dbd7eb7d5f improved print method 2025-03-19 00:56:56 +03:00
orange 89356546ca updated comment 2025-03-17 09:14:42 +03:00
orange f788a60e14 added iw engine files 2025-03-17 07:20:13 +03:00
orange 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
orange c9bc1864bb added legacy impl 2025-02-23 10:10:35 +03:00
orange c42a523e6c added more classes 2025-02-23 09:57:29 +03:00
orange 9cbf042173 added AVX2 2025-02-22 23:34:45 +03:00
orange 79b04bed7d added unity build support 2025-02-22 23:32:29 +03:00
orange e789c716d1 added new method added concept for mat type 2025-02-16 10:06:04 +03:00
orange e007b15cc9 fix 2025-01-06 05:15:12 +03:00
orange e722a29e6f added some methods 2025-01-06 05:08:32 +03:00
orange 51d75bb7ec improvement 2025-01-06 04:42:43 +03:00
orange bb812c6837 added method + tests 2025-01-02 12:52:34 +03:00
orange d80e1658e8 added open gl stuff 2024-12-23 17:53:47 +03:00