01c794a78a44f5d59f62a8aba">   51</a></span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T, qualifier Q&gt; GLM_FUNC_QUALIFIER vec&lt;2, T, Q&gt; <a class="code" href="a00732.html#ga356f8c3a7e7d6376d3d4b0a026407183">saturate</a>(<span class="keyword">const</span> vec&lt;2, T, Q&gt;&amp; x){<span class="keywordflow">return</span> <a class="code" href="a00662.html#ga7cd77683da6361e297c56443fc70806d">clamp</a>(x, T(0), T(1));}                 </div><div class="line"><