Fixed decoloration

This commit is contained in:
Christophe Riccio 2018-08-30 01:06:07 +02:00
parent 62e4c59d8d
commit 8177cf4aa3

View File

@ -662,7 +662,7 @@ void foo(vec4 const& v)
### <a name="section2_18"></a> 2.18. GLM\_FORCE\_UNRESTRICTED\_GENTYPE: Removing genType restriction ### <a name="section2_18"></a> 2.18. GLM\_FORCE\_UNRESTRICTED\_GENTYPE: Removing genType restriction
GLSL has restrictions on types supported by certain functions that may appear excessive. GLSL has restrictions on types supported by certain functions that may appear excessive.
By default, GLM follows the GLSL specification as accurately as possible however it's possible to relax these rules using GLM\_FORCE\_UNRESTRICTED\_GENTYPE define. By default, GLM follows the GLSL specification as accurately as possible however it's possible to relax these rules using `GLM_FORCE_UNRESTRICTED_GENTYPE` define.
```cpp ```cpp
#include <glm/glm.hpp> #include <glm/glm.hpp>