]> git.tdb.fi Git - libs/gl.git/blobdiff - source/camera.cpp
Rename various get/set_aspect functions to aspect_ratio
[libs/gl.git] / source / camera.cpp
index e15d1cfe5f8a8107f79ad3cac96717315f2712a7..6ae162aeb77909fca84b20fa8bf9b9ed3389dfef 100644 (file)
@@ -36,7 +36,7 @@ void Camera::set_orthographic(float w, float h)
        update_projection_matrix();
 }
 
-void Camera::set_aspect(float a)
+void Camera::set_aspect_ratio(float a)
 {
        aspect = a;
        update_projection_matrix();