<p>Include <<aclass="el"href="a00066.html"title="GLM_GTC_matrix_transform ">glm/gtc/matrix_transform.hpp</a>> to use the features of this extension.
<trclass="memitem:ga0bcd4542e0affc63a0b8c08fcb839ea9"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga0bcd4542e0affc63a0b8c08fcb839ea9"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga0bcd4542e0affc63a0b8c08fcb839ea9">frustum</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
<trclass="memdesc:ga0bcd4542e0affc63a0b8c08fcb839ea9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a frustum matrix with default handedness. <ahref="a00157.html#ga0bcd4542e0affc63a0b8c08fcb839ea9">More...</a><br/></td></tr>
<trclass="memitem:gae4277c37f61d81da01bc9db14ea90296"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gae4277c37f61d81da01bc9db14ea90296"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#gae4277c37f61d81da01bc9db14ea90296">frustumLH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
<trclass="memdesc:gae4277c37f61d81da01bc9db14ea90296"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a left handed frustum matrix. <ahref="a00157.html#gae4277c37f61d81da01bc9db14ea90296">More...</a><br/></td></tr>
<trclass="memitem:ga4366ab45880c6c5f8b3e8c371ca4b136"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga4366ab45880c6c5f8b3e8c371ca4b136"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga4366ab45880c6c5f8b3e8c371ca4b136">frustumRH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
<trclass="memdesc:ga4366ab45880c6c5f8b3e8c371ca4b136"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a right handed frustum matrix. <ahref="a00157.html#ga4366ab45880c6c5f8b3e8c371ca4b136">More...</a><br/></td></tr>
<trclass="memitem:ga44fa38a18349450325cae2661bb115ca"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga44fa38a18349450325cae2661bb115ca"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga44fa38a18349450325cae2661bb115ca">infinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
<trclass="memdesc:ga44fa38a18349450325cae2661bb115ca"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness. <ahref="a00157.html#ga44fa38a18349450325cae2661bb115ca">More...</a><br/></td></tr>
<trclass="memitem:ga3201b30f5b3ea0f933246d87bfb992a9"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga3201b30f5b3ea0f933246d87bfb992a9"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga3201b30f5b3ea0f933246d87bfb992a9">infinitePerspectiveLH</a> (T fovy, T aspect, T near)</td></tr>
<trclass="memdesc:ga3201b30f5b3ea0f933246d87bfb992a9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite. <ahref="a00157.html#ga3201b30f5b3ea0f933246d87bfb992a9">More...</a><br/></td></tr>
<trclass="memitem:ga99672ffe5714ef478dab2437255fe7e1"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga99672ffe5714ef478dab2437255fe7e1"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga99672ffe5714ef478dab2437255fe7e1">infinitePerspectiveRH</a> (T fovy, T aspect, T near)</td></tr>
<trclass="memdesc:ga99672ffe5714ef478dab2437255fe7e1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite. <ahref="a00157.html#ga99672ffe5714ef478dab2437255fe7e1">More...</a><br/></td></tr>
<trclass="memdesc:gaa64aa951a0e99136bba9008d2b59c78e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Build a look at view matrix based on the default handedness. <ahref="a00157.html#gaa64aa951a0e99136bba9008d2b59c78e">More...</a><br/></td></tr>
<trclass="memdesc:gab2c09e25b0a16d3a9d89cc85bbae41b0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Build a left handed look at view matrix. <ahref="a00157.html#gab2c09e25b0a16d3a9d89cc85bbae41b0">More...</a><br/></td></tr>
<trclass="memdesc:gacfa12c8889c754846bc20c65d9b5c701"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Build a right handed look at view matrix. <ahref="a00157.html#gacfa12c8889c754846bc20c65d9b5c701">More...</a><br/></td></tr>
<trclass="memitem:ga6615d8a9d39432e279c4575313ecb456"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga6615d8a9d39432e279c4575313ecb456"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga6615d8a9d39432e279c4575313ecb456">ortho</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
<trclass="memdesc:ga6615d8a9d39432e279c4575313ecb456"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using the default handedness. <ahref="a00157.html#ga6615d8a9d39432e279c4575313ecb456">More...</a><br/></td></tr>
<trclass="memitem:gae5b6b40ed882cd56cd7cb97701909c06"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gae5b6b40ed882cd56cd7cb97701909c06"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#gae5b6b40ed882cd56cd7cb97701909c06">ortho</a> (T left, T right, T bottom, T top)</td></tr>
<trclass="memdesc:gae5b6b40ed882cd56cd7cb97701909c06"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for projecting two-dimensional coordinates onto the screen. <ahref="a00157.html#gae5b6b40ed882cd56cd7cb97701909c06">More...</a><br/></td></tr>
<trclass="memitem:gad122a79aadaa5529cec4ac197203db7f"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gad122a79aadaa5529cec4ac197203db7f"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#gad122a79aadaa5529cec4ac197203db7f">orthoLH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
<trclass="memdesc:gad122a79aadaa5529cec4ac197203db7f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using left-handedness. <ahref="a00157.html#gad122a79aadaa5529cec4ac197203db7f">More...</a><br/></td></tr>
<trclass="memitem:ga16264c9b838edeb9dd1de7a1010a13a4"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga16264c9b838edeb9dd1de7a1010a13a4"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga16264c9b838edeb9dd1de7a1010a13a4">orthoRH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
<trclass="memdesc:ga16264c9b838edeb9dd1de7a1010a13a4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using right-handedness. <ahref="a00157.html#ga16264c9b838edeb9dd1de7a1010a13a4">More...</a><br/></td></tr>
<trclass="memitem:ga747c8cf99458663dd7ad1bb3a2f07787"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga747c8cf99458663dd7ad1bb3a2f07787"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga747c8cf99458663dd7ad1bb3a2f07787">perspective</a> (T fovy, T aspect, T near, T far)</td></tr>
<trclass="memdesc:ga747c8cf99458663dd7ad1bb3a2f07787"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a symetric perspective-view frustum based on the default handedness. <ahref="a00157.html#ga747c8cf99458663dd7ad1bb3a2f07787">More...</a><br/></td></tr>
<trclass="memitem:gaebd02240fd36e85ad754f02ddd9a560d"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gaebd02240fd36e85ad754f02ddd9a560d"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#gaebd02240fd36e85ad754f02ddd9a560d">perspectiveFov</a> (T fov, T width, T height, T near, T far)</td></tr>
<trclass="memdesc:gaebd02240fd36e85ad754f02ddd9a560d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a perspective projection matrix based on a field of view and the default handedness. <ahref="a00157.html#gaebd02240fd36e85ad754f02ddd9a560d">More...</a><br/></td></tr>
<trclass="memitem:ga6aebe16c164bd8e52554cbe0304ef4aa"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga6aebe16c164bd8e52554cbe0304ef4aa"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga6aebe16c164bd8e52554cbe0304ef4aa">perspectiveFovLH</a> (T fov, T width, T height, T near, T far)</td></tr>
<trclass="memdesc:ga6aebe16c164bd8e52554cbe0304ef4aa"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a left handed perspective projection matrix based on a field of view. <ahref="a00157.html#ga6aebe16c164bd8e52554cbe0304ef4aa">More...</a><br/></td></tr>
<trclass="memitem:gaf32bf563f28379c68554a44ee60c6a85"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gaf32bf563f28379c68554a44ee60c6a85"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#gaf32bf563f28379c68554a44ee60c6a85">perspectiveFovRH</a> (T fov, T width, T height, T near, T far)</td></tr>
<trclass="memdesc:gaf32bf563f28379c68554a44ee60c6a85"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a right handed perspective projection matrix based on a field of view. <ahref="a00157.html#gaf32bf563f28379c68554a44ee60c6a85">More...</a><br/></td></tr>
<trclass="memitem:ga9bd34951dc7022ac256fcb51d7f6fc2f"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga9bd34951dc7022ac256fcb51d7f6fc2f"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga9bd34951dc7022ac256fcb51d7f6fc2f">perspectiveLH</a> (T fovy, T aspect, T near, T far)</td></tr>
<trclass="memdesc:ga9bd34951dc7022ac256fcb51d7f6fc2f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a left handed, symetric perspective-view frustum. <ahref="a00157.html#ga9bd34951dc7022ac256fcb51d7f6fc2f">More...</a><br/></td></tr>
<trclass="memitem:ga26b88757fbd90601b80768a7e1ad3aa1"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga26b88757fbd90601b80768a7e1ad3aa1"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#ga26b88757fbd90601b80768a7e1ad3aa1">perspectiveRH</a> (T fovy, T aspect, T near, T far)</td></tr>
<trclass="memdesc:ga26b88757fbd90601b80768a7e1ad3aa1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a right handed, symetric perspective-view frustum. <ahref="a00157.html#ga26b88757fbd90601b80768a7e1ad3aa1">More...</a><br/></td></tr>
<trclass="memitem:gaf6b21eadb7ac2ecbbe258a9a233b4c82"><tdclass="memTemplParams"colspan="2">template<typename T , qualifier Q, typename U ></td></tr>
<trclass="memdesc:gaf6b21eadb7ac2ecbbe258a9a233b4c82"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Define a picking region. <ahref="a00157.html#gaf6b21eadb7ac2ecbbe258a9a233b4c82">More...</a><br/></td></tr>
<trclass="memitem:gaf36e96033f456659e6705472a06b6e11"><tdclass="memTemplParams"colspan="2">template<typename T , typename U , qualifier Q></td></tr>
<trclass="memdesc:gaee9e865eaa9776370996da2940873fd4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a rotation 4 * 4 matrix created from an axis vector and an angle. <ahref="a00157.html#gaee9e865eaa9776370996da2940873fd4">More...</a><br/></td></tr>
<trclass="memdesc:ga05051adbee603fb3c5095d8cf5cc229b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a scale 4 * 4 matrix created from 3 scalars. <ahref="a00157.html#ga05051adbee603fb3c5095d8cf5cc229b">More...</a><br/></td></tr>
<trclass="memdesc:ga1a4ecc4ad82652b8fb14dcb087879284"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a translation 4 * 4 matrix created from a vector of 3 components. <ahref="a00157.html#ga1a4ecc4ad82652b8fb14dcb087879284">More...</a><br/></td></tr>
<trclass="memitem:gaaeacc04a2a6f4b18c5899d37e7bb3ef9"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gaaeacc04a2a6f4b18c5899d37e7bb3ef9"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#gaaeacc04a2a6f4b18c5899d37e7bb3ef9">tweakedInfinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
<trclass="memdesc:gaaeacc04a2a6f4b18c5899d37e7bb3ef9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. <ahref="a00157.html#gaaeacc04a2a6f4b18c5899d37e7bb3ef9">More...</a><br/></td></tr>
<trclass="memitem:gaf5b3c85ff6737030a1d2214474ffa7a8"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gaf5b3c85ff6737030a1d2214474ffa7a8"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL mat< 4, 4, T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00157.html#gaf5b3c85ff6737030a1d2214474ffa7a8">tweakedInfinitePerspective</a> (T fovy, T aspect, T near, T ep)</td></tr>
<trclass="memdesc:gaf5b3c85ff6737030a1d2214474ffa7a8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. <ahref="a00157.html#gaf5b3c85ff6737030a1d2214474ffa7a8">More...</a><br/></td></tr>
<trclass="memitem:ga36641e5d60f994e01c3d8f56b10263d2"><tdclass="memTemplParams"colspan="2">template<typename T , typename U , qualifier Q></td></tr>
<p>Include <<aclass="el"href="a00066.html"title="GLM_GTC_matrix_transform ">glm/gtc/matrix_transform.hpp</a>> to use the features of this extension. </p>
<p>Defines functions that generate common transformation matrices.</p>
<p>The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space. </p>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glFrustum.xml">glFrustum man page</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<p>Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<p>Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<p>Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<p>Build a look at view matrix based on the default handedness. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">eye</td><td>Position of the camera </td></tr>
<tr><tdclass="paramname">center</td><td>Position where the camera is looking at </td></tr>
<tr><tdclass="paramname">up</td><td>Normalized up vector, how the camera is oriented. Typically (0, 0, 1) </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) </dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluLookAt.xml">gluLookAt man page</a></dd></dl>
<tr><tdclass="paramname">eye</td><td>Position of the camera </td></tr>
<tr><tdclass="paramname">center</td><td>Position where the camera is looking at </td></tr>
<tr><tdclass="paramname">up</td><td>Normalized up vector, how the camera is oriented. Typically (0, 0, 1) </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) </dd></dl>
<tr><tdclass="paramname">eye</td><td>Position of the camera </td></tr>
<tr><tdclass="paramname">center</td><td>Position where the camera is looking at </td></tr>
<tr><tdclass="paramname">up</td><td>Normalized up vector, how the camera is oriented. Typically (0, 0, 1) </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) </dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top) </dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glOrtho.xml">glOrtho man page</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top, T const& zNear, T const& zFar) </dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluOrtho2D.xml">gluOrtho2D man page</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top) </dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top) </dd></dl>
<p>Creates a matrix for a symetric perspective-view frustum based on the default handedness. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPerspective.xml">gluPerspective man page</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<p>Creates a matrix for a left handed, symetric perspective-view frustum. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<p>Creates a matrix for a right handed, symetric perspective-view frustum. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Native type used for the computation. Currently supported: half (not recommanded), float or double. </td></tr>
<tr><tdclass="paramname">U</td><td>Currently supported: Floating-point types and integer types. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPickMatrix.xml">gluPickMatrix man page</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Native type used for the computation. Currently supported: half (not recommanded), float or double. </td></tr>
<tr><tdclass="paramname">U</td><td>Currently supported: Floating-point types and integer types. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluProject.xml">gluProject man page</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Supported: half, float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- rotate(mat<4, 4, T, Q> const& m, T angle, T x, T y, T z) </dd>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommended), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- scale(mat<4, 4, T, Q> const& m, T x, T y, T z) </dd>
<dd>
- scale(vec<3, T, Q> const& v) </dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glScale.xml">glScale man page</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. <divclass="fragment"><divclass="line"><spanclass="preprocessor">#include <<aclass="code"href="a00035.html">glm/glm.hpp</a>></span></div>
<divclass="line">glm::mat4 m = <aclass="code"href="a00157.html#ga1a4ecc4ad82652b8fb14dcb087879284">glm::translate</a>(<aclass="code"href="a00144.html#gade0eb47c01f79384a6f38017ede17446">glm::mat4</a>(1.0f), <aclass="code"href="a00144.html#gaa8ea2429bb3cb41a715258a447f39897">glm::vec3</a>(1.0f));</div>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- translate(mat<4, 4, T, Q> const& m, T x, T y, T z) </dd>
<p>Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<p>Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
<tr><tdclass="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
<tr><tdclass="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
<tr><tdclass="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd></dl>
<tr><tdclass="paramname">T</td><td>Native type used for the computation. Currently supported: half (not recommanded), float or double. </td></tr>
<tr><tdclass="paramname">U</td><td>Currently supported: Floating-point types and integer types. </td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00157.html"title="Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. ">GLM_GTC_matrix_transform</a></dd>
<dd>
<ahref="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluUnProject.xml">gluUnProject man page</a></dd></dl>