Merge pull request #831 from MrVallentin/typos

Fixed typos #831
master
Christophe ago%!(EXTRA string=7 years) committed by GitHub
commit ddebaba033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      glm/detail/type_half.inl
  2. 4
      manual.md
  3. 2
      readme.md

@ -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).

@ -319,7 +319,7 @@ The following subsections describe each configurations and defines.
### <a name="section2_4"></a> 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.
### <a name="section2_5"></a> 2.5. GLM\_FORCE\_CXX\_UNKNOWN: Force GLM to no detect the C++ standard
@ -640,7 +640,7 @@ void foo()
### <a name="section2_15"></a> 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.

@ -147,7 +147,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

Loading…
Cancel
Save