// // Created by Orange on 12/23/2024. // #pragma once #include "Constants.hpp" namespace omath::opengl_engine { [[nodiscard]] Vector3 ForwardVector(const ViewAngles& angles); [[nodiscard]] Vector3 RightVector(const ViewAngles& angles); [[nodiscard]] Vector3 UpVector(const ViewAngles& angles); [[nodiscard]] Mat4x4 CalcViewMatrix(const ViewAngles& angles, const Vector3& cam_origin); [[nodiscard]] Mat4x4 CalcPerspectiveProjectionMatrix(float fieldOfView, float aspectRatio, float near, float far); } // namespace omath::opengl_engine