Commit Graph

12 Commits

Author SHA1 Message Date
orange 502cfb431c added final 2026-06-22 06:21:54 +03:00
orange 11e6f67e23 added more noexcept 2026-06-19 01:09:53 +03:00
va_alpatov a546c1a6d1 added template hash 2026-06-19 01:01:27 +03:00
orange 39d0d0683d improvement 2026-05-22 12:35:14 +03:00
orange 848202cbd8 added nodiscard messages 2026-05-22 09:00:32 +03:00
orange 580f39210e added typecasting for vectors 2026-04-26 02:14:14 +03:00
orange e935155022 improved tests 2026-02-19 07:47:23 +03:00
orange d8d585e3eb Refactors triangle calculations for generic vectors
Updates the `Triangle` class to use a generic `Vector` type instead of `Vector3`, enhancing flexibility and reusability.

Changes include updating relevant function return types to use `Vector::ContainedType` and adapting length and distance calculations accordingly.

This refactoring supports the ongoing work on the EPA algorithm (feature/epa_algorithm) by providing a more adaptable foundation for geometric calculations.
2025-11-13 15:29:10 +03:00
orange 55041384c5 added vcpkg manifest file 2025-10-23 06:35:22 +03:00
orange 7be3bde498 Adds hash support for Vector2, Vector3, and Vector4
Implements `std::hash` specialization for `omath::Vector2`, `omath::Vector3`, and `omath::Vector4` with float components.

This enables usage of these vector types as keys in hash-based containers, such as `std::unordered_map` and `std::unordered_set`.
2025-10-14 13:00:28 +03:00
orange 800435b407 improvement 2025-09-25 21:43:33 +03:00
orange 1c58340404 Refactors: Moves linear algebra to new directory
Moves linear algebra headers to a new subdirectory to improve project structure.

Updates includes to reflect the directory change.
Adds vcpkg to the tracked repositories.
2025-08-31 23:36:05 +03:00