Make matrix_camera template on base projection camera

This commit is contained in:
Nikita Lisitsa 2020-10-14 22:15:52 +03:00
parent c562137218
commit 9b8026d5ba

View file

@ -69,8 +69,9 @@ namespace psemek::geom
void set_fov(float fov_y, float aspect_ratio);
};
template <typename BaseCamera>
struct matrix_camera
: perspective_camera
: BaseCamera
{
matrix<float, 4, 4> view_matrix;