From 45fdece9731f08908cdc9fbeb0310933146ff56d Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 8 Apr 2019 16:40:44 -0700 Subject: [PATCH] Fix documentation typos --- filament/include/filament/Camera.h | 4 ++-- libs/math/include/math/mat4.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/filament/include/filament/Camera.h b/filament/include/filament/Camera.h index b0f5c725a0..73783131a4 100644 --- a/filament/include/filament/Camera.h +++ b/filament/include/filament/Camera.h @@ -250,8 +250,8 @@ public: /** Sets the camera's view matrix * - * @param eye The point in world space the camera is looking at. - * @param center The position of the camera in world space. + * @param eye The position of the camera in world space. + * @param center The point in world space the camera is looking at. * @param up A unit vector denoting the camera's "up" direction. */ void lookAt(const math::float3& eye, diff --git a/libs/math/include/math/mat4.h b/libs/math/include/math/mat4.h index eff1d06b2e..43789b5d41 100644 --- a/libs/math/include/math/mat4.h +++ b/libs/math/include/math/mat4.h @@ -503,7 +503,7 @@ constexpr TMat44 TMat44::perspective(T fov, T aspect, T near, T far, TMat4 /* * Returns a matrix representing the pose of a virtual camera looking towards -Z in its - * local Y-up coordinate system. "eye" is where the camera is located, "center" is the points its + * local Y-up coordinate system. "eye" is where the camera is located, "center" is the point it's * looking at and "up" defines where the Y axis of the camera's local coordinate system is. */ template