<ahref="a00031.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span>  GLM_FUNC_DECL T <aclass="code"href="a00148.html#ga18d45e3d4c7705e67ccfabd99e521604">length</a>(</div>
<divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span>  GLM_FUNC_DECL T <aclass="code"href="a00148.html#ga7ca317dde0d7e94d920153554d4a02a8">distance</a>(</div>
<divclass="line"><aname="l00048"></a><spanclass="lineno"> 48</span>  GLM_FUNC_DECL T <aclass="code"href="a00148.html#ga7dada304da2ba7dd3376ab4f178c3f6b">dot</a>(</div>
<divclass="ttc"id="a00148_html_ga7dada304da2ba7dd3376ab4f178c3f6b"><divclass="ttname"><ahref="a00148.html#ga7dada304da2ba7dd3376ab4f178c3f6b">glm::dot</a></div><divclass="ttdeci">GLM_FUNC_DECL T dot(vecType< T, P > const &x, vecType< T, P > const &y)</div><divclass="ttdoc">Returns the dot product of x and y, i.e., result = x * y. </div></div>
<divclass="ttc"id="a00148_html_gafe2cae8cb26fd44be62aee97369d0af8"><divclass="ttname"><ahref="a00148.html#gafe2cae8cb26fd44be62aee97369d0af8">glm::cross</a></div><divclass="ttdeci">GLM_FUNC_DECL tvec3< T, P > cross(tvec3< T, P > const &x, tvec3< T, P > const &y)</div><divclass="ttdoc">Returns the cross product of x and y. </div></div>
<divclass="ttc"id="a00148_html_gab63646fc36b81cf69d3ce123a72f76f2"><divclass="ttname"><ahref="a00148.html#gab63646fc36b81cf69d3ce123a72f76f2">glm::reflect</a></div><divclass="ttdeci">GLM_FUNC_DECL genType reflect(genType const &I, genType const &N)</div><divclass="ttdoc">For the incident vector I and surface orientation N, returns the reflection direction : result = I - ...</div></div>
<divclass="ttc"id="a00148_html_gaea854e5aec1b5839832ac2dfc7cd3c0d"><divclass="ttname"><ahref="a00148.html#gaea854e5aec1b5839832ac2dfc7cd3c0d">glm::faceforward</a></div><divclass="ttdeci">GLM_FUNC_DECL vecType< T, P > faceforward(vecType< T, P > const &N, vecType< T, P > const &I, vecType< T, P > const &Nref)</div><divclass="ttdoc">If dot(Nref, I) <0.0,returnN,otherwise,return-N.</div></div>
<divclass="ttc"id="a00148_html_gada9451ec170a36fe53552812b9c03a68"><divclass="ttname"><ahref="a00148.html#gada9451ec170a36fe53552812b9c03a68">glm::normalize</a></div><divclass="ttdeci">GLM_FUNC_DECL vecType< T, P > normalize(vecType< T, P > const &x)</div><divclass="ttdoc">Returns a vector in the same direction as x but with length of 1. </div></div>
<divclass="ttc"id="a00148_html_ga7ca317dde0d7e94d920153554d4a02a8"><divclass="ttname"><ahref="a00148.html#ga7ca317dde0d7e94d920153554d4a02a8">glm::distance</a></div><divclass="ttdeci">GLM_FUNC_DECL T distance(vecType< T, P > const &p0, vecType< T, P > const &p1)</div><divclass="ttdoc">Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). </div></div>
<divclass="ttc"id="a00148_html_ga18d45e3d4c7705e67ccfabd99e521604"><divclass="ttname"><ahref="a00148.html#ga18d45e3d4c7705e67ccfabd99e521604">glm::length</a></div><divclass="ttdeci">GLM_FUNC_DECL T length(vecType< T, P > const &x)</div><divclass="ttdoc">Returns the length of x, i.e., sqrt(x * x). </div></div>
<divclass="ttc"id="a00148_html_gab7e7cdf4403931a5f7b74560ad64159b"><divclass="ttname"><ahref="a00148.html#gab7e7cdf4403931a5f7b74560ad64159b">glm::refract</a></div><divclass="ttdeci">GLM_FUNC_DECL vecType< T, P > refract(vecType< T, P > const &I, vecType< T, P > const &N, T eta)</div><divclass="ttdoc">For the incident vector I and surface normal N, and the ratio of indices of refraction eta...</div></div>