Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
NoHitzz authored and christophe-lunarg committed Mar 4, 2024
1 parent dcc5cfd commit 49942a6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ static_assert(glm::vec4::length() == 4, "Using GLM C++ 14 constexpr support for
#define GLM_FORCE_SIMD_AVX2
#include <glm/glm.hpp>
// If the compiler doesn’t support AVX2 instrinsics, compiler errors will happen.
// If the compiler doesn’t support AVX2 intrinsics, compiler errors will happen.
```

Additionally, GLM provides a low level SIMD API in glm/simd directory for users who are really interested in writing fast algorithms.
Expand Down Expand Up @@ -1943,7 +1943,7 @@ To workaround the incompatibility with these macros, GLM will systematically und
### <a name="section7_13"></a> 7.13. Constant expressions support
GLM has some C++ [constant expressions](http://en.cppreference.com/w/cpp/language/constexpr) support. However, GLM automatically detects the use of SIMD instruction sets through compiler arguments to populate its implementation with SIMD intrinsics.
Unfortunately, GCC and Clang doesn't support SIMD instrinsics as constant expressions. To allow constant expressions on all vectors and matrices types, define `GLM_FORCE_PURE` before including GLM headers.
Unfortunately, GCC and Clang don't support SIMD intrinsics as constant expressions. To allow constant expressions on all vectors and matrices types, define `GLM_FORCE_PURE` before including GLM headers.
---
<div style="page-break-after: always;"> </div>
Expand Down Expand Up @@ -2133,7 +2133,7 @@ We need to download a copy of our fork to our local machine. In the terminal, ty

This will clone our fork repository into the current folder.

We can find our repository git url on the Github reposotory page. The url looks like this: `https://github.com/<our-username>/<repository-name>.git`
We can find our repository git url on the Github repository page. The url looks like this: `https://github.com/<our-username>/<repository-name>.git`

#### Step 2: Synchronizing our fork

Expand Down
28 changes: 14 additions & 14 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ glm::mat4 camera(float Translate, glm::vec2 const& Rotate)
}
```
## [Lastest release](https://github.com/g-truc/glm/releases/latest)
## [Latest release](https://github.com/g-truc/glm/releases/latest)
## Project Health
Expand Down Expand Up @@ -70,7 +70,7 @@ find_package(glm CONFIG REQUIRED)
target_link_libraries(main PRIVATE glm::glm)
```

If your perfer to use header-only version of GLM
If your prefer to use header-only version of GLM

```cmake
find_package(glm CONFIG REQUIRED)
Expand Down Expand Up @@ -150,7 +150,7 @@ target_link_libraries(main PRIVATE glm::glm)
- Added *GLM_EXT_matrix_intX* and *GLM_EXT_matrix_uintX* extensions

#### Improvements:
- Added `glm::clamp`, `glm::repeat`, `glm::mirrorClamp` and `glm::mirrorRepeat` function to `GLM_EXT_scalar_commond` and `GLM_EXT_vector_commond` extensions with tests
- Added `glm::clamp`, `glm::repeat`, `glm::mirrorClamp` and `glm::mirrorRepeat` function to `GLM_EXT_scalar_common` and `GLM_EXT_vector_common` extensions with tests

#### Fixes:
- Fixed unnecessary warnings from `matrix_projection.inl` #995
Expand Down Expand Up @@ -193,7 +193,7 @@ target_link_libraries(main PRIVATE glm::glm)
- Fixed `glm::ldexp` and `glm::frexp` declaration #895
- Fixed missing const to quaternion conversion operators #890
- Fixed *GLM_EXT_scalar_ulp* and *GLM_EXT_vector_ulp* API coding style
- Fixed quaternion componant order: `w, {x, y, z}` #916
- Fixed quaternion component order: `w, {x, y, z}` #916
- Fixed `GLM_HAS_CXX11_STL` broken on Clang with Linux #926
- Fixed *Clang* or *GCC* build due to wrong `GLM_HAS_IF_CONSTEXPR` definition #907
- Fixed *CUDA* 9 build #910
Expand Down Expand Up @@ -262,8 +262,8 @@ target_link_libraries(main PRIVATE glm::glm)
- Redesigned constexpr support which excludes both SIMD and `constexpr` #783
- Added detection of *Visual C++ 2017* toolsets
- Added identity functions #765
- Splitted headers into EXT extensions to improve compilation time #670
- Added separated performance tests
- Split headers into EXT extensions to improve compilation time #670
- Added separate performance tests
- Clarified refract valid range of the indices of refraction, between -1 and 1 inclusively #806

#### Fixes:
Expand Down Expand Up @@ -294,7 +294,7 @@ target_link_libraries(main PRIVATE glm::glm)
- Added *GLM_EXT_vector_relational*: `glm::openBounded` and `glm::closeBounded`
- Added *GLM_EXT_vec1*: `*vec1` types
- Added *GLM_GTX_texture*: `levels` function
- Added spearate functions to use both nagative one and zero near clip plans #680
- Added separate functions to use both negative one and zero near clip plans #680
- Added `GLM_FORCE_SINGLE_ONLY` to use *GLM* on platforms that don't support double #627
- Added *GLM_GTX_easing* for interpolation functions #761

Expand Down Expand Up @@ -331,7 +331,7 @@ target_link_libraries(main PRIVATE glm::glm)
- Fixed `glm::axisAngle` NaN #638
- Fixed integer pow from *GLM_GTX_integer* with null exponent #658
- Fixed `quat` `normalize` build error #656
- Fixed *Visual C++ 2017.2* warning regarding `__has_feature` definision #655
- Fixed *Visual C++ 2017.2* warning regarding `__has_feature` definition #655
- Fixed documentation warnings
- Fixed `GLM_HAS_OPENMP` when *OpenMP* is not enabled
- Fixed Better follow GLSL `min` and `max` specification #372
Expand Down Expand Up @@ -499,7 +499,7 @@ target_link_libraries(main PRIVATE glm::glm)
#### Fixes:
- Fixed asinh and atanh warning with C++98 STL #484
- Fixed polar coordinates function latitude #485
- Fixed outerProduct defintions and operator signatures for mat2x4 and vec4 #475
- Fixed outerProduct definitions and operator signatures for mat2x4 and vec4 #475
- Fixed eulerAngles precision error, returns NaN #451
- Fixed undefined reference errors #489
- Fixed missing GLM_PLATFORM_CYGWIN declaration #495
Expand Down Expand Up @@ -670,8 +670,8 @@ target_link_libraries(main PRIVATE glm::glm)
- Optimized bitfieldReverse and bitCount functions
- Optimized findLSB and findMSB functions.
- Optimized matrix-vector multiple performance with Cuda #257, #258
- Reduced integer type redifinitions #233
- Rewrited of GTX_fast_trigonometry #264 #265
- Reduced integer type redefinitions #233
- Rewrote GTX_fast_trigonometry #264 #265
- Made types trivially copyable #263
- Removed <iostream> in GLM tests
- Used std features within GLM without redeclaring
Expand Down Expand Up @@ -953,7 +953,7 @@ generation distribution
- Added GLM_GTX_constants: provides useful constants
- Added extension versioning
- Removed many unused namespaces
- Fixed half based type contructors
- Fixed half based type constructors
- Added GLSL core noise functions

---
Expand Down Expand Up @@ -1190,7 +1190,7 @@ generation distribution

---
### GLM 0.7.6 final - 2008-08-08
- Improved C++ standard comformance
- Improved C++ standard conformance
- Added Static assert for types checking

---
Expand Down Expand Up @@ -1251,7 +1251,7 @@ generation distribution

---
### GLM 0.5.0 - 2007-01-06
- Upgrated to GLSL 1.2
- Upgraded to GLSL 1.2
- Added swizzle operators
- Added setup settings

Expand Down
4 changes: 2 additions & 2 deletions test/gtx/gtx_pca.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ static int testCovar(
return failReport(__LINE__);
}

// #2: test function variant consitency with random data
// #2: test function variant consistency with random data
#if GLM_HAS_CXX11_STL == 1
std::default_random_engine rndEng(randomEngineSeed);
std::normal_distribution<T> normalDist;
Expand Down Expand Up @@ -560,7 +560,7 @@ static int smokeTest()
if(eCnt != 3u)
return failReport(__LINE__);

// sort eVec by decending eVal
// sort eVec by descending eVal
if(eVal[0] < eVal[1])
{
std::swap(eVal[0], eVal[1]);
Expand Down

0 comments on commit 49942a6

Please sign in to comment.