<ahref="a00089.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_quaternion is an experimetal 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="l00121"></a><spanclass="lineno"> 121</span>  GLM_FUNC_DECL T <aclass="code"href="a00220.html#ga90de879d97487ec804522dd418e5d8a0">extractRealComponent</a>(</div>
<divclass="ttc"id="a00220_html_ga42a0cf206c59eaeff4c67dd62e09a580"><divclass="ttname"><ahref="a00220.html#ga42a0cf206c59eaeff4c67dd62e09a580">glm::pow</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > pow(tquat< T, P > const &x, T const &y)</div><divclass="ttdoc">Returns x raised to the y power. </div></div>
<divclass="ttc"id="a00220_html_ga02b45352c7ac345cabc9e877314acda6"><divclass="ttname"><ahref="a00220.html#ga02b45352c7ac345cabc9e877314acda6">glm::length2</a></div><divclass="ttdeci">GLM_FUNC_DECL T length2(tquat< T, P > const &q)</div><divclass="ttdoc">Returns the squared length of x. </div></div>
<divclass="ttc"id="a00220_html_gaedc9fba6485eade37cc26c16df9d7aad"><divclass="ttname"><ahref="a00220.html#gaedc9fba6485eade37cc26c16df9d7aad">glm::toMat4</a></div><divclass="ttdeci">GLM_FUNC_DECL tmat4x4< T, P > toMat4(tquat< T, P > const &x)</div><divclass="ttdoc">Converts a quaternion to a 4 * 4 matrix. </div><divclass="ttdef"><b>Definition:</b><ahref="a00089_source.html#l00135">gtx/quaternion.hpp:135</a></div></div>
<divclass="ttc"id="a00220_html_ga4bfe3c7770fc43d14b8ef0058c4a86b5"><divclass="ttname"><ahref="a00220.html#ga4bfe3c7770fc43d14b8ef0058c4a86b5">glm::cross</a></div><divclass="ttdeci">GLM_FUNC_DECL tvec3< T, P > cross(tvec3< T, P > const &v, tquat< T, P > const &q)</div><divclass="ttdoc">Compute a cross product between a vector and a quaternion. </div></div>
<divclass="ttc"id="a00220_html_ga3534443de2a1a806f386976546cddc81"><divclass="ttname"><ahref="a00220.html#ga3534443de2a1a806f386976546cddc81">glm::shortMix</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > shortMix(tquat< T, P > const &x, tquat< T, P > const &y, T const &a)</div><divclass="ttdoc">Quaternion interpolation using the rotation short path. </div></div>
<divclass="ttc"id="a00220_html_ga01935b66ba245c2fd7dee5427d86ce9b"><divclass="ttname"><ahref="a00220.html#ga01935b66ba245c2fd7dee5427d86ce9b">glm::toMat3</a></div><divclass="ttdeci">GLM_FUNC_DECL tmat3x3< T, P > toMat3(tquat< T, P > const &x)</div><divclass="ttdoc">Converts a quaternion to a 3 * 3 matrix. </div><divclass="ttdef"><b>Definition:</b><ahref="a00089_source.html#l00128">gtx/quaternion.hpp:128</a></div></div>
<divclass="ttc"id="a00220_html_gac4856d356c5c97cec74e9b672ea89240"><divclass="ttname"><ahref="a00220.html#gac4856d356c5c97cec74e9b672ea89240">glm::rotation</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > rotation(tvec3< T, P > const &orig, tvec3< T, P > const &dest)</div><divclass="ttdoc">Compute the rotation between two vectors. </div></div>
<divclass="ttc"id="a00172_html_ga14bb2ddf028c91542763eb6f2bba47ef"><divclass="ttname"><ahref="a00172.html#ga14bb2ddf028c91542763eb6f2bba47ef">glm::mat4_cast</a></div><divclass="ttdeci">GLM_FUNC_DECL tmat4x4< T, P > mat4_cast(tquat< T, P > const &x)</div><divclass="ttdoc">Converts a quaternion to a 4 * 4 matrix. </div></div>
<divclass="ttc"id="a00220_html_ga90de879d97487ec804522dd418e5d8a0"><divclass="ttname"><ahref="a00220.html#ga90de879d97487ec804522dd418e5d8a0">glm::extractRealComponent</a></div><divclass="ttdeci">GLM_FUNC_DECL T extractRealComponent(tquat< T, P > const &q)</div><divclass="ttdoc">Extract the real component of a quaternion. </div></div>
<divclass="ttc"id="a00220_html_ga56abae85b3669c866e91f3c57b298b9c"><divclass="ttname"><ahref="a00220.html#ga56abae85b3669c866e91f3c57b298b9c">glm::intermediate</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > intermediate(tquat< T, P > const &prev, tquat< T, P > const &curr, tquat< T, P > const &next)</div><divclass="ttdoc">Returns an intermediate control point for squad interpolation. </div></div>
<divclass="ttc"id="a00220_html_ga17295173d4c2b5ae49b84e9993b63a62"><divclass="ttname"><ahref="a00220.html#ga17295173d4c2b5ae49b84e9993b63a62">glm::exp</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > exp(tquat< T, P > const &q)</div><divclass="ttdoc">Returns a exp of a quaternion. </div></div>
<divclass="ttc"id="a00220_html_ga96575f8868b3f2aa3e13cab9b94ccbd3"><divclass="ttname"><ahref="a00220.html#ga96575f8868b3f2aa3e13cab9b94ccbd3">glm::rotate</a></div><divclass="ttdeci">GLM_FUNC_DECL tvec4< T, P > rotate(tquat< T, P > const &q, tvec4< T, P > const &v)</div><divclass="ttdoc">Rotates a 4 components vector by a quaternion. </div></div>
<divclass="ttc"id="a00220_html_gac11bf550f17d1da14423595a27575084"><divclass="ttname"><ahref="a00220.html#gac11bf550f17d1da14423595a27575084">glm::fastMix</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > fastMix(tquat< T, P > const &x, tquat< T, P > const &y, T const &a)</div><divclass="ttdoc">Quaternion normalized linear interpolation. </div></div>
<divclass="ttc"id="a00220_html_ga808dd0f83ee8150db7e652313bde8eb2"><divclass="ttname"><ahref="a00220.html#ga808dd0f83ee8150db7e652313bde8eb2">glm::toQuat</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > toQuat(tmat4x4< T, P > const &x)</div><divclass="ttdoc">Converts a 4 * 4 matrix to a quaternion. </div><divclass="ttdef"><b>Definition:</b><ahref="a00089_source.html#l00149">gtx/quaternion.hpp:149</a></div></div>
<divclass="ttc"id="a00172_html_ga950f8acff3e33bbda77895a3dcb7e5ce"><divclass="ttname"><ahref="a00172.html#ga950f8acff3e33bbda77895a3dcb7e5ce">glm::quat_cast</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > quat_cast(tmat3x3< T, P > const &x)</div><divclass="ttdoc">Converts a 3 * 3 matrix to a quaternion. </div></div>
<divclass="ttc"id="a00172_html_gae04c39422eb4e450ec8c4f45a1057b40"><divclass="ttname"><ahref="a00172.html#gae04c39422eb4e450ec8c4f45a1057b40">glm::mat3_cast</a></div><divclass="ttdeci">GLM_FUNC_DECL tmat3x3< T, P > mat3_cast(tquat< T, P > const &x)</div><divclass="ttdoc">Converts a quaternion to a 3 * 3 matrix. </div></div>
<divclass="ttc"id="a00220_html_gae75f537becdf2b1381b4482ec96e6c82"><divclass="ttname"><ahref="a00220.html#gae75f537becdf2b1381b4482ec96e6c82">glm::squad</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > squad(tquat< T, P > const &q1, tquat< T, P > const &q2, tquat< T, P > const &s1, tquat< T, P > const &s2, T const &h)</div><divclass="ttdoc">Compute a point on a path according squad equation. </div></div>
<divclass="ttc"id="a00220_html_ga791f42e134bfe97fc9c96f4668dd7489"><divclass="ttname"><ahref="a00220.html#ga791f42e134bfe97fc9c96f4668dd7489">glm::log</a></div><divclass="ttdeci">GLM_FUNC_DECL tquat< T, P > log(tquat< T, P > const &q)</div><divclass="ttdoc">Returns a log of a quaternion. </div></div>