X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcamera.cpp;fp=source%2Fcamera.cpp;h=6ae162aeb77909fca84b20fa8bf9b9ed3389dfef;hb=7cf5ebbc9d91d09d0664598d3fb88606c3307deb;hp=e15d1cfe5f8a8107f79ad3cac96717315f2712a7;hpb=1db563b1adc792edcd816ce19716a07cf403fe3c;p=libs%2Fgl.git diff --git a/source/camera.cpp b/source/camera.cpp index e15d1cfe..6ae162ae 100644 --- a/source/camera.cpp +++ b/source/camera.cpp @@ -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();