mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed typos
This commit is contained in:
parent
9749727c2d
commit
a8953c672f
@ -112,7 +112,7 @@ namespace detail
|
|||||||
// Our floating point number, f, is represented by the bit
|
// Our floating point number, f, is represented by the bit
|
||||||
// pattern in integer i. Disassemble that bit pattern into
|
// pattern in integer i. Disassemble that bit pattern into
|
||||||
// the sign, s, the exponent, e, and the significand, m.
|
// 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.
|
// resulting half number.
|
||||||
// Adjust e, accounting for the different exponent bias
|
// Adjust e, accounting for the different exponent bias
|
||||||
// of float and half (127 versus 15).
|
// 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
|
### <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
|
### <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
|
### <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.
|
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.
|
To simplify vector types, GLM allows exposing only x, y, z and w components thanks to `GLM_FORCE_XYZW_ONLY` define.
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ glm::mat4 camera(float Translate, glm::vec2 const& Rotate)
|
|||||||
- Reduced warnings when using very strict compilation flags #646
|
- Reduced warnings when using very strict compilation flags #646
|
||||||
- length() member functions are constexpr #657
|
- length() member functions are constexpr #657
|
||||||
- Added support of -Weverything with Clang #646
|
- 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
|
- Enabled warnings as error with Clang unit tests
|
||||||
- Conan package is an external repository: https://github.com/bincrafters/conan-glm
|
- Conan package is an external repository: https://github.com/bincrafters/conan-glm
|
||||||
- Clarify quat_cast documentation, applying on pure rotation matrices #759
|
- Clarify quat_cast documentation, applying on pure rotation matrices #759
|
||||||
|
Loading…
Reference in New Issue
Block a user