mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
Fix docs, left and right handness were swapped
This commit is contained in:
parent
efec5db081
commit
cbc5229400
@ -53,7 +53,7 @@ namespace glm
|
|||||||
GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_ZO(
|
GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_ZO(
|
||||||
T left, T right, T bottom, T top, T zNear, T zFar);
|
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)
|
/// 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
|
/// @tparam T A floating-point scalar type
|
||||||
@ -63,7 +63,7 @@ namespace glm
|
|||||||
GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_NO(
|
GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_NO(
|
||||||
T left, T right, T bottom, T top, T zNear, T zFar);
|
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)
|
/// 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
|
/// @tparam T A floating-point scalar type
|
||||||
|
Loading…
Reference in New Issue
Block a user