Compare commits

...

1 Commits

Author SHA1 Message Date
29795e9906 Includes missing formula headers
Includes the necessary formula headers in the camera trait files for different rendering engines.
This ensures that the required mathematical functions and definitions are available when using camera traits.
2025-08-12 19:08:30 +03:00
4 changed files with 3 additions and 4 deletions

View File

@@ -198,7 +198,6 @@ namespace omath
{ {
return {static_cast<Type>(other.x), static_cast<Type>(other.y), static_cast<Type>(other.z)}; return {static_cast<Type>(other.x), static_cast<Type>(other.y), static_cast<Type>(other.z)};
} }
}
#endif #endif
}; };
} // namespace omath } // namespace omath

View File

@@ -2,7 +2,7 @@
// Created by Vlad on 8/11/2025. // Created by Vlad on 8/11/2025.
// //
#include "omath/engines/iw_engine/traits/camera_trait.hpp" #include "omath/engines/iw_engine/traits/camera_trait.hpp"
#include "omath/engines/iw_engine/formulas.hpp"
namespace omath::iw_engine namespace omath::iw_engine
{ {

View File

@@ -2,7 +2,7 @@
// Created by Vlad on 8/11/2025. // Created by Vlad on 8/11/2025.
// //
#include "omath/engines/opengl_engine/traits/camera_trait.hpp" #include "omath/engines/opengl_engine/traits/camera_trait.hpp"
#include "omath/engines/opengl_engine/formulas.hpp"
namespace omath::opengl_engine namespace omath::opengl_engine
{ {

View File

@@ -2,7 +2,7 @@
// Created by Vlad on 8/11/2025. // Created by Vlad on 8/11/2025.
// //
#include "omath/engines/source_engine/traits/camera_trait.hpp" #include "omath/engines/source_engine/traits/camera_trait.hpp"
#include "omath/engines/source_engine/formulas.hpp"
namespace omath::source_engine namespace omath::source_engine
{ {