X-Git-Url: http://git.mutantstargoat.com?p=demo;a=blobdiff_plain;f=src%2Fcamera.h;h=0ded6bed7d1dbad1f38bb6c643c8807b24f2c740;hp=cbd543fb65dbd2552ccef4492caf4f4f185ffc3c;hb=63d7f3b0e70ab5e3d530c579b1881967c96b0b92;hpb=d03d86eb8489e7ab4c5460cea5ee265b0c1ee487 diff --git a/src/camera.h b/src/camera.h index cbd543f..0ded6be 100644 --- a/src/camera.h +++ b/src/camera.h @@ -29,6 +29,6 @@ public: void set_orbit_params(float phi, float theta, float distance); }; -Mat4 calc_projection_matrix(float f, float n, float aspect, float fov); +Mat4 calc_projection_matrix(float fov_deg, float aspect, float n, float f); #endif // CAMERA_H_ \ No newline at end of file