mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 23:04:35 +00:00
Clean up some language in the GTC extension descriptions
This commit is contained in:
parent
934d4fd6bf
commit
af44852504
10
doc/doc.tex
10
doc/doc.tex
@ -611,22 +611,22 @@ Fast bitfield operations on scalar and vector variables.
|
|||||||
\subsection{\texttt{GLM\_GTC\_color\_space}}
|
\subsection{\texttt{GLM\_GTC\_color\_space}}
|
||||||
\textbf{Header:} \glmheader{gtc/color\_space}
|
\textbf{Header:} \glmheader{gtc/color\_space}
|
||||||
|
|
||||||
Conversion between linear RGB to sRGB and sRGB to linear RGB.
|
Conversion between linear RGB and sRGB color spaces.
|
||||||
|
|
||||||
\subsection{\texttt{GLM\_GTC\_constants}}
|
\subsection{\texttt{GLM\_GTC\_constants}}
|
||||||
\textbf{Header:} \glmheader{gtc/constants}
|
\textbf{Header:} \glmheader{gtc/constants}
|
||||||
|
|
||||||
Provide a list of built-in constants.
|
Built-in constants such as $\pi$, $e$, and $\phi$.
|
||||||
|
|
||||||
\subsection{\texttt{GLM\_GTC\_epsilon}}
|
\subsection{\texttt{GLM\_GTC\_epsilon}}
|
||||||
\textbf{Header:} \glmheader{gtc/epsilon}
|
\textbf{Header:} \glmheader{gtc/epsilon}
|
||||||
|
|
||||||
Approximate equal and not equal comparisons with selectable epsilon.
|
Approximate equality comparisons for floating-point numbers, possibly with a user-defined epsilon.
|
||||||
|
|
||||||
\subsection{\texttt{GLM\_GTC\_integer}}
|
\subsection{\texttt{GLM\_GTC\_integer}}
|
||||||
\textbf{Header:} \glmheader{gtc/integer}
|
\textbf{Header:} \glmheader{gtc/integer}
|
||||||
|
|
||||||
Provide integer variants of GLM core functions.
|
Integer variants of GLM core functions.
|
||||||
|
|
||||||
\subsection{\texttt{GLM\_GTC\_matrix\_access}}
|
\subsection{\texttt{GLM\_GTC\_matrix\_access}}
|
||||||
\textbf{Header:} \glmheader{gtc/matrix\_access}
|
\textbf{Header:} \glmheader{gtc/matrix\_access}
|
||||||
@ -771,7 +771,7 @@ Rounding operation on power of two and multiple values.
|
|||||||
\subsection{\texttt{GLM\_GTC\_type\_precision}}
|
\subsection{\texttt{GLM\_GTC\_type\_precision}}
|
||||||
\textbf{Header:} \glmheader{gtc/type\_precision}
|
\textbf{Header:} \glmheader{gtc/type\_precision}
|
||||||
|
|
||||||
Add vector and matrix types with defined precisions. Eg, \verb|i8vec4|: vector of 4 signed integer of 8 bits.
|
Add vector and matrix types with defined precisions, e.g. \verb|i8vec4|, which is a 4D vector of signed 8-bit integers.
|
||||||
|
|
||||||
This extension adds defines to set the default precision of each class of types added:
|
This extension adds defines to set the default precision of each class of types added:
|
||||||
Available defines for signed 8-bit integer types (\verb|glm::i8vec|*):
|
Available defines for signed 8-bit integer types (\verb|glm::i8vec|*):
|
||||||
|
Loading…
Reference in New Issue
Block a user