mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 23:04:35 +00:00
Fix typos in Known Issues
This commit is contained in:
parent
4e28ea8eff
commit
125c3bdf44
@ -1216,7 +1216,7 @@ GLM supports GLSL precision qualifiers through prefixes instead of keywords. For
|
|||||||
As in GLSL, GLM precision qualifiers are used to exchange precision for performance. By default, all types use high precision.
|
As in GLSL, GLM precision qualifiers are used to exchange precision for performance. By default, all types use high precision.
|
||||||
|
|
||||||
\begin{glslcode}
|
\begin{glslcode}
|
||||||
// Using precision qualifier in GLSL:
|
// Using precision qualifiers in GLSL:
|
||||||
|
|
||||||
ivec3 foo(in vec4 v)
|
ivec3 foo(in vec4 v)
|
||||||
{
|
{
|
||||||
@ -1224,12 +1224,12 @@ ivec3 foo(in vec4 v)
|
|||||||
mediump vec4 b = a;
|
mediump vec4 b = a;
|
||||||
lowp ivec3 c = ivec3(b);
|
lowp ivec3 c = ivec3(b);
|
||||||
|
|
||||||
returnc;
|
return c;
|
||||||
}
|
}
|
||||||
\end{glslcode}
|
\end{glslcode}
|
||||||
|
|
||||||
\begin{cppcode}
|
\begin{cppcode}
|
||||||
// Using precision qualifier in GLM:
|
// Using precision qualifiers in GLM:
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
|
||||||
ivec3 foo(const vec4 & v)
|
ivec3 foo(const vec4 & v)
|
||||||
@ -1238,7 +1238,7 @@ ivec3 foo(const vec4 & v)
|
|||||||
medium_vec4 b = a;
|
medium_vec4 b = a;
|
||||||
lowp_ivec3 c = glm::ivec3(b);
|
lowp_ivec3 c = glm::ivec3(b);
|
||||||
|
|
||||||
returnc;
|
return c;
|
||||||
}
|
}
|
||||||
\end{cppcode}
|
\end{cppcode}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user