From ea91a4d0bc1f3bc28f8826d446e5702d044bd079 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Sun, 6 Dec 2015 16:24:10 -0500 Subject: [PATCH] Qualify some vec uses --- doc/glm.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/glm.tex b/doc/glm.tex index ae972f04..8f20ff25 100644 --- a/doc/glm.tex +++ b/doc/glm.tex @@ -444,7 +444,7 @@ The member function \verb|length()| returns the dimensionality (number of compon \begin{cppcode} #include -void foo(vec4 const & v) +void foo(glm::vec4 const & v) { int Length = v.length(); // returns 4 } @@ -460,7 +460,7 @@ GLM also defines the \verb|typedef| \verb|glm::length_t| to identify the returne #define GLM_FORCE_SIZE_T_LENGTH #include -void foo(vec4 const & v) +void foo(glm::vec4 const & v) { glm::size_t Length = v.length(); }