From a8953c672fff1b7e8d3d276574a4a559db6e8b3e Mon Sep 17 00:00:00 2001 From: MrVallentin Date: Mon, 5 Nov 2018 13:47:57 +0100 Subject: [PATCH] Fixed typos --- glm/detail/type_half.inl | 2 +- manual.md | 4 ++-- readme.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/glm/detail/type_half.inl b/glm/detail/type_half.inl index 6a052f26..b0723e36 100644 --- a/glm/detail/type_half.inl +++ b/glm/detail/type_half.inl @@ -112,7 +112,7 @@ namespace detail // Our floating point number, f, is represented by the bit // pattern in integer i. Disassemble that bit pattern into // the sign, s, the exponent, e, and the significand, m. - // Shift s into the position where it will go in in the + // Shift s into the position where it will go in the // resulting half number. // Adjust e, accounting for the different exponent bias // of float and half (127 versus 15). diff --git a/manual.md b/manual.md index 86f96e1c..9397da55 100644 --- a/manual.md +++ b/manual.md @@ -319,7 +319,7 @@ The following subsections describe each configurations and defines. ### 2.4. GLM\_FORCE\_ARCH\_UNKNOWN: Force GLM to no detect the build architecture -`GLM_FORCE_ARCH_UNKNOWN` prevents GLM from detecting the build target architechture. +`GLM_FORCE_ARCH_UNKNOWN` prevents GLM from detecting the build target architecture. ### 2.5. GLM\_FORCE\_CXX\_UNKNOWN: Force GLM to no detect the C++ standard @@ -640,7 +640,7 @@ void foo() ### 2.15. GLM\_FORCE\_XYZW\_ONLY: Only exposes x, y, z and w components Following GLSL specifications, GLM supports three sets of components to access vector types member: x, y, z, w; r, g, b, a; and s, t, p, q. -Also, this is making vector component very expressive in the code, it may make debugging vector types a little cubersom as the debuggers will typically display three time the values for each compoenents due to the existance of the three sets. +Also, this is making vector component very expressive in the code, it may make debugging vector types a little cubersom as the debuggers will typically display three time the values for each compoenents due to the existence of the three sets. To simplify vector types, GLM allows exposing only x, y, z and w components thanks to `GLM_FORCE_XYZW_ONLY` define. diff --git a/readme.md b/readme.md index c9e64a52..59f057da 100644 --- a/readme.md +++ b/readme.md @@ -143,7 +143,7 @@ glm::mat4 camera(float Translate, glm::vec2 const& Rotate) - Reduced warnings when using very strict compilation flags #646 - length() member functions are constexpr #657 - Added support of -Weverything with Clang #646 -- Improved exponential funtion test coverage +- Improved exponential function test coverage - Enabled warnings as error with Clang unit tests - Conan package is an external repository: https://github.com/bincrafters/conan-glm - Clarify quat_cast documentation, applying on pure rotation matrices #759