diff --git a/include/omath/Angle.hpp b/include/omath/Angle.hpp index 45e8e06..253604d 100644 --- a/include/omath/Angle.hpp +++ b/include/omath/Angle.hpp @@ -96,7 +96,6 @@ namespace omath return Cos() / Sin(); } - [[nodiscard]] constexpr Angle& operator+=(const Angle& other) { if constexpr (flags == AngleFlags::Normalized) @@ -116,7 +115,6 @@ namespace omath [[nodiscard]] constexpr std::partial_ordering operator<=>(const Angle& other) const = default; - [[nodiscard]] constexpr Angle& operator-=(const Angle& other) { return operator+=(-other); diff --git a/include/omath/engines/Source/Camera.hpp b/include/omath/engines/Source/Camera.hpp index ef895ba..a0b9f77 100644 --- a/include/omath/engines/Source/Camera.hpp +++ b/include/omath/engines/Source/Camera.hpp @@ -13,6 +13,7 @@ namespace omath::source Camera(const Vector3& position, const ViewAngles& viewAngles, const projection::ViewPort& viewPort, const Angle& fov, float near, float far); void LookAt(const Vector3& target) override; + protected: [[nodiscard]] Mat4x4 CalcViewMatrix() const override; [[nodiscard]] Mat4x4 CalcProjectionMatrix() const override; };