| 1234567891011121314151617181920 |
- //
- // matrix.hpp
- // graphics
- //
- // Created by Sam Jaffe on 5/24/19.
- // Copyright © 2019 Sam Jaffe. All rights reserved.
- //
- #pragma once
- #include "game/math/math_fwd.hpp"
- namespace graphics {
- math::matr4 orthogonal_view(float left, float right, float bottom, float top,
- float near, float far);
- math::matr4 frustum_view(float left, float right, float bottom, float top,
- float near, float far);
- math::matr4 perspective(math::degree fovY, float aspect, float front,
- float back);
- }
|