// // Created by Orange on 11/30/2024. // #pragma once #include "omath/linear_algebra/vector3.hpp" #include namespace omath { template requires std::is_same_v && std::is_same_v struct ViewAngles { using ArithmeticType = PitchType::ArithmeticType; PitchType pitch; YawType yaw; RollType roll; [[nodiscard]] Vector3 as_vector3() const { return {pitch.as_degrees(), yaw.as_degrees(), roll.as_degrees()}; } }; } // namespace omath