Commit Graph

16 Commits

Author SHA1 Message Date
cdde09c70c feat(omath): Add NDC to screen position coordinate diagram 2025-08-12 09:29:14 +03:00
62c86fdc09 Introduces CameraEngine concept
Adds a concept `CameraEngineConcept` to ensure that camera
engine implementations provide the necessary functions
with the correct signatures and `noexcept` specifications.

This enables compile-time checks for valid camera engine
implementations, improving code reliability and preventing
runtime errors.
2025-08-12 09:13:02 +03:00
94bc18ba18 Removes virtual destructor from Camera
Removes the virtual destructor from the Camera class as it is not required,
as the class does not act as a base class. This simplifies the class
definition and avoids potential vtable overhead.
2025-08-11 01:43:22 +03:00
b4fbcba8f2 Marks Camera class as final
Prevents inheritance from the Camera class.
2025-08-11 01:18:39 +03:00
1f4b10f336 Refactors camera and prediction engine traits.
Moves camera and prediction engine implementations into traits for each engine,
decoupling the engine-specific logic from the core classes, promoting code reuse
and maintainability. This change allows for easier addition of new engines and
customization of existing ones.
2025-08-11 00:32:09 +03:00
ba2c60389f added more noexcept 2025-05-05 01:46:50 +03:00
45c7ff131f added noexcept 2025-05-05 01:16:12 +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
a36b54610b resetting state 2025-04-25 23:52:10 +03:00
e487ddd11b naming fixed 2025-03-23 01:02:11 +03:00
d6a399fa65 uncommented test 2025-03-23 00:52:12 +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
756bcef6e1 fixed include names 2025-03-21 04:40:59 +03:00
e4eb27c6de change 2025-03-21 04:21:31 +03:00