From cbc5229400d6da9b764d9919f77b1de949eb9aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Willian=20K=C3=B6lln?= Date: Tue, 18 Apr 2023 01:03:24 -0300 Subject: [PATCH] Fix docs, left and right handness were swapped --- glm/ext/matrix_clip_space.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/ext/matrix_clip_space.hpp b/glm/ext/matrix_clip_space.hpp index dda58e7a..44c3b688 100644 --- a/glm/ext/matrix_clip_space.hpp +++ b/glm/ext/matrix_clip_space.hpp @@ -53,7 +53,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_ZO( T left, T right, T bottom, T top, T zNear, T zFar); - /// Creates a matrix for an orthographic parallel viewing volume using right-handed coordinates. + /// Creates a matrix for an orthographic parallel viewing volume using left-handed coordinates. /// The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition) /// /// @tparam T A floating-point scalar type @@ -63,7 +63,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_NO( T left, T right, T bottom, T top, T zNear, T zFar); - /// Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. + /// Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates. /// The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) /// /// @tparam T A floating-point scalar type