<ahref="a00464.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> </div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment">// Dependencies</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#include "../detail/setup.hpp"</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor">#include "../detail/qualifier.hpp"</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> </div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_component_wise is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> </div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="preprocessor"># pragma message("GLM: GLM_GTX_component_wise extension included")</span></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> </div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> {</div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> </div><divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span><spanclass="keywordtype">float</span>Type, length_t L, <spanclass="keyword">typename</span> T, qualifier Q></div><divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span>  GLM_FUNC_DECL vec<L, floatType, Q><aclass="code"href="a00733.html#ga8f2b81ada8515875e58cb1667b6b9908">compNormalize</a>(vec<L, T, Q><spanclass="keyword">const</span>& v);</div><divclass="line"><aname="l00039"></a><spanclass="lineno"> 39</span> </div><divclass="line"><aname="l00043"></a><spanclass="lineno"> 43</span> <spanclass="keyword">template</span><length_t L, <spanclass="keyword">typename</span> T, <spanclass="keyword">typename</span><spanclass="keywordtype">float</span>Type, qualifier Q></div><divclass="line"><aname="l00044"></a><spanclass="lineno"> 44</span>  GLM_FUNC_DECL vec<L, T, Q><aclass="code"href="a00733.html#ga80abc2980d65d675f435d178c36880eb">compScale</a>(vec<L, floatType, Q><spanclass="keyword">const</span>& v);</div><divclass="line"><aname="l00045"></a><spanclass="lineno"> 45</span> </div><divclass="line"><aname="l00048"></a><spanclass="lineno"> 48</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> genType></div><divclass="line"><aname="l00049"></a><spanclass="lineno"> 49</span>  GLM_FUNC_DECL <spanclass="keyword">typename</
<divclass="ttc"id="a00733_html_gaf71833350e15e74d31cbf8a3e7f27051"><divclass="ttname"><ahref="a00733.html#gaf71833350e15e74d31cbf8a3e7f27051">glm::compAdd</a></div><divclass="ttdeci">GLM_FUNC_DECL genType::value_type compAdd(genType const &v)</div><divclass="ttdoc">Add all vector components together. </div></div>
<divclass="ttc"id="a00733_html_gab5d0832b5c7bb01b8d7395973bfb1425"><divclass="ttname"><ahref="a00733.html#gab5d0832b5c7bb01b8d7395973bfb1425">glm::compMin</a></div><divclass="ttdeci">GLM_FUNC_DECL genType::value_type compMin(genType const &v)</div><divclass="ttdoc">Find the minimum value between single vector components. </div></div>
<divclass="ttc"id="a00733_html_gae8ab88024197202c9479d33bdc5a8a5d"><divclass="ttname"><ahref="a00733.html#gae8ab88024197202c9479d33bdc5a8a5d">glm::compMul</a></div><divclass="ttdeci">GLM_FUNC_DECL genType::value_type compMul(genType const &v)</div><divclass="ttdoc">Multiply all vector components together. </div></div>
<divclass="ttc"id="a00733_html_ga8f2b81ada8515875e58cb1667b6b9908"><divclass="ttname"><ahref="a00733.html#ga8f2b81ada8515875e58cb1667b6b9908">glm::compNormalize</a></div><divclass="ttdeci">GLM_FUNC_DECL vec< L, floatType, Q > compNormalize(vec< L, T, Q > const &v)</div><divclass="ttdoc">Convert an integer vector to a normalized float vector. </div></div>
<divclass="ttc"id="a00733_html_gabfa4bb19298c8c73d4217ba759c496b6"><divclass="ttname"><ahref="a00733.html#gabfa4bb19298c8c73d4217ba759c496b6">glm::compMax</a></div><divclass="ttdeci">GLM_FUNC_DECL genType::value_type compMax(genType const &v)</div><divclass="ttdoc">Find the maximum value between single vector components. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">