Make matrix_camera template on base projection camera
This commit is contained in:
parent
c562137218
commit
9b8026d5ba
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue