From 4a64bb7a633b834ed40a90579b523f7c26b319bd Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Fri, 27 Nov 2015 17:32:20 -0500 Subject: [PATCH] Clean up Default Precision subsection --- doc/doc.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/doc.tex b/doc/doc.tex index 57ea6ad0..6a46f1cd 100644 --- a/doc/doc.tex +++ b/doc/doc.tex @@ -312,7 +312,7 @@ precision mediump int; precision highp float; \end{glslcode} -To use the default precision functionality, GLM provides some defines that need to add before any include of glm.hpp: +To set the default precision of a given arithmetic type, use any one of the following defines: \begin{cppcode} #define GLM_PRECISION_MEDIUMP_INT @@ -330,7 +330,7 @@ Available defines for floating point types (\verb|glm::vec|*, \verb|glm::mat|*): \item \verb|GLM_PRECISION_HIGHP_FLOAT|: High precision (default) \end{itemize} -Available defines for floating point types (\verb|glm::dvec|*, \verb|glm::dmat|*): +Available defines for double-precision floating point types (\verb|glm::dvec|*, \verb|glm::dmat|*): \begin{itemize} \item \verb|GLM_PRECISION_LOWP_DOUBLE|: Low precision