diff --git a/matrix.cpp b/matrix.cpp index 28644528..b65d305e 100644 --- a/matrix.cpp +++ b/matrix.cpp @@ -277,10 +277,10 @@ matrix::perspective (T fov, T aspect, range Z) template matrix4 matrix::look_at (util::point<3,T> eye, - util::point<3,T> centre, + util::point<3,T> target, util::vector<3,T> up) { - const auto f = normalised (centre - eye); + const auto f = normalised (target - eye); const auto s = normalised (cross (f, up)); const auto u = cross (s, f);