<trclass="memitem:gada6deb989d4b553fe0f7e3279f3afae1"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gada6deb989d4b553fe0f7e3279f3afae1"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gada6deb989d4b553fe0f7e3279f3afae1">frustum</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
<trclass="memdesc:gada6deb989d4b553fe0f7e3279f3afae1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a frustum matrix with default handedness. <ahref="a00169.html#gada6deb989d4b553fe0f7e3279f3afae1">More...</a><br/></td></tr>
<trclass="memitem:ga75b1c1d0ee1f80c1e873605adeb1838c"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga75b1c1d0ee1f80c1e873605adeb1838c"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga75b1c1d0ee1f80c1e873605adeb1838c">frustumLH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
<trclass="memdesc:ga75b1c1d0ee1f80c1e873605adeb1838c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a left handed frustum matrix. <ahref="a00169.html#ga75b1c1d0ee1f80c1e873605adeb1838c">More...</a><br/></td></tr>
<trclass="memitem:gad0e184273bdacbe769e5cd81069e48ed"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gad0e184273bdacbe769e5cd81069e48ed"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gad0e184273bdacbe769e5cd81069e48ed">frustumRH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
<trclass="memdesc:gad0e184273bdacbe769e5cd81069e48ed"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a right handed frustum matrix. <ahref="a00169.html#gad0e184273bdacbe769e5cd81069e48ed">More...</a><br/></td></tr>
<trclass="memdesc:ga79f704ad91a5f0d68abd88c66c8186e5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness. <ahref="a00169.html#ga79f704ad91a5f0d68abd88c66c8186e5">More...</a><br/></td></tr>
<trclass="memdesc:ga47af534da2b28effa4c7945ec82ccd9d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite. <ahref="a00169.html#ga47af534da2b28effa4c7945ec82ccd9d">More...</a><br/></td></tr>
<trclass="memdesc:ga79575023763df88dff1bf8255a42d0be"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite. <ahref="a00169.html#ga79575023763df88dff1bf8255a42d0be">More...</a><br/></td></tr>
<trclass="memdesc:gaf8eef81da1ad09f6a8920101c01eaae4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Build a look at view matrix based on the default handedness. <ahref="a00169.html#gaf8eef81da1ad09f6a8920101c01eaae4">More...</a><br/></td></tr>
<trclass="memdesc:gacd0c077ec7b58a575855e29cb5fb586d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Build a left handed look at view matrix. <ahref="a00169.html#gacd0c077ec7b58a575855e29cb5fb586d">More...</a><br/></td></tr>
<trclass="memdesc:ga2876d9313334980b94292d2ec169088e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Build a right handed look at view matrix. <ahref="a00169.html#ga2876d9313334980b94292d2ec169088e">More...</a><br/></td></tr>
<trclass="memitem:ga65280251de6e38580110a0577a43d8f8"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga65280251de6e38580110a0577a43d8f8"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga65280251de6e38580110a0577a43d8f8">ortho</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
<trclass="memdesc:ga65280251de6e38580110a0577a43d8f8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using the default handedness. <ahref="a00169.html#ga65280251de6e38580110a0577a43d8f8">More...</a><br/></td></tr>
<trclass="memitem:ga45b1b64f99255c07119b4f1aaed04dd7"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga45b1b64f99255c07119b4f1aaed04dd7"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga45b1b64f99255c07119b4f1aaed04dd7">ortho</a> (T left, T right, T bottom, T top)</td></tr>
<trclass="memdesc:ga45b1b64f99255c07119b4f1aaed04dd7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for projecting two-dimensional coordinates onto the screen. <ahref="a00169.html#ga45b1b64f99255c07119b4f1aaed04dd7">More...</a><br/></td></tr>
<trclass="memitem:ga71503df1e691b12cc2d45e64fd0628fe"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga71503df1e691b12cc2d45e64fd0628fe"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga71503df1e691b12cc2d45e64fd0628fe">orthoLH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
<trclass="memdesc:ga71503df1e691b12cc2d45e64fd0628fe"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using left-handedness. <ahref="a00169.html#ga71503df1e691b12cc2d45e64fd0628fe">More...</a><br/></td></tr>
<trclass="memitem:gada0aaaee76f1fd3c272698c8eca735a1"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gada0aaaee76f1fd3c272698c8eca735a1"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gada0aaaee76f1fd3c272698c8eca735a1">orthoRH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
<trclass="memdesc:gada0aaaee76f1fd3c272698c8eca735a1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using right-handedness. <ahref="a00169.html#gada0aaaee76f1fd3c272698c8eca735a1">More...</a><br/></td></tr>
<trclass="memitem:gac3613dcb6c6916465ad5b7ad5a786175"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gac3613dcb6c6916465ad5b7ad5a786175"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gac3613dcb6c6916465ad5b7ad5a786175">perspective</a> (T fovy, T aspect, T near, T far)</td></tr>
<trclass="memdesc:gac3613dcb6c6916465ad5b7ad5a786175"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a symetric perspective-view frustum based on the default handedness. <ahref="a00169.html#gac3613dcb6c6916465ad5b7ad5a786175">More...</a><br/></td></tr>
<trclass="memitem:gae9146e2c550fc8646299e4b900238145"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gae9146e2c550fc8646299e4b900238145"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gae9146e2c550fc8646299e4b900238145">perspectiveFov</a> (T fov, T width, T height, T near, T far)</td></tr>
<trclass="memdesc:gae9146e2c550fc8646299e4b900238145"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a perspective projection matrix based on a field of view and the default handedness. <ahref="a00169.html#gae9146e2c550fc8646299e4b900238145">More...</a><br/></td></tr>
<trclass="memitem:gae705a2f19c3ef5ef880bd6c92759cf2d"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gae705a2f19c3ef5ef880bd6c92759cf2d"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gae705a2f19c3ef5ef880bd6c92759cf2d">perspectiveFovLH</a> (T fov, T width, T height, T near, T far)</td></tr>
<trclass="memdesc:gae705a2f19c3ef5ef880bd6c92759cf2d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a left handed perspective projection matrix based on a field of view. <ahref="a00169.html#gae705a2f19c3ef5ef880bd6c92759cf2d">More...</a><br/></td></tr>
<trclass="memitem:ga07cd8df791bf90dcb782645fe0b21261"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga07cd8df791bf90dcb782645fe0b21261"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga07cd8df791bf90dcb782645fe0b21261">perspectiveFovRH</a> (T fov, T width, T height, T near, T far)</td></tr>
<trclass="memdesc:ga07cd8df791bf90dcb782645fe0b21261"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a right handed perspective projection matrix based on a field of view. <ahref="a00169.html#ga07cd8df791bf90dcb782645fe0b21261">More...</a><br/></td></tr>
<trclass="memitem:ga34048da27c559f1ac8e9550d169dd6f3"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga34048da27c559f1ac8e9550d169dd6f3"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga34048da27c559f1ac8e9550d169dd6f3">perspectiveLH</a> (T fovy, T aspect, T near, T far)</td></tr>
<trclass="memdesc:ga34048da27c559f1ac8e9550d169dd6f3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a left handed, symetric perspective-view frustum. <ahref="a00169.html#ga34048da27c559f1ac8e9550d169dd6f3">More...</a><br/></td></tr>
<trclass="memitem:ga5a4fa9f8ffabb2294e48a18bf8fa2f5f"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:ga5a4fa9f8ffabb2294e48a18bf8fa2f5f"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga5a4fa9f8ffabb2294e48a18bf8fa2f5f">perspectiveRH</a> (T fovy, T aspect, T near, T far)</td></tr>
<trclass="memdesc:ga5a4fa9f8ffabb2294e48a18bf8fa2f5f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a matrix for a right handed, symetric perspective-view frustum. <ahref="a00169.html#ga5a4fa9f8ffabb2294e48a18bf8fa2f5f">More...</a><br/></td></tr>
<trclass="memitem:ga9026c77505b99990f68826f27c267dc5"><tdclass="memTemplParams"colspan="2">template<typename T , precision P, typename U ></td></tr>
<trclass="memitem:ga9026c77505b99990f68826f27c267dc5"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga9026c77505b99990f68826f27c267dc5">pickMatrix</a> (tvec2< T, P > const &center, tvec2< T, P > const &delta, tvec4< U, P > const &viewport)</td></tr>
<trclass="memdesc:ga9026c77505b99990f68826f27c267dc5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Define a picking region. <ahref="a00169.html#ga9026c77505b99990f68826f27c267dc5">More...</a><br/></td></tr>
<trclass="memitem:gad743556abd138264d4f06f4ca27f1d7e"><tdclass="memTemplParams"colspan="2">template<typename T , typename U , precision P></td></tr>
<trclass="memitem:gad743556abd138264d4f06f4ca27f1d7e"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tvec3< T, P > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gad743556abd138264d4f06f4ca27f1d7e">project</a> (tvec3< T, P > const &obj, tmat4x4< T, P > const &model, tmat4x4< T, P > const &proj, tvec4< U, P > const &viewport)</td></tr>
<trclass="memitem:ga161b1df124348f232d994ba7958e4815"><tdclass="memTemplParams"colspan="2">template<typename T , precision P></td></tr>
<trclass="memitem:ga161b1df124348f232d994ba7958e4815"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga161b1df124348f232d994ba7958e4815">rotate</a> (tmat4x4< T, P > const &m, T angle, tvec3< T, P > const &axis)</td></tr>
<trclass="memdesc:ga161b1df124348f232d994ba7958e4815"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a rotation 4 * 4 matrix created from an axis vector and an angle. <ahref="a00169.html#ga161b1df124348f232d994ba7958e4815">More...</a><br/></td></tr>
<trclass="memdesc:ga8f062fcc07e2445500793f2803afebb0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a scale 4 * 4 matrix created from 3 scalars. <ahref="a00169.html#ga8f062fcc07e2445500793f2803afebb0">More...</a><br/></td></tr>
<trclass="memdesc:gaee134ab77c6c5548a6ebf4e8e476c6ed"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Builds a translation 4 * 4 matrix created from a vector of 3 components. <ahref="a00169.html#gaee134ab77c6c5548a6ebf4e8e476c6ed">More...</a><br/></td></tr>
<trclass="memdesc:gaed64bd81f5ecdab52fecbdf7f6b58194"><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="a00169.html#gaed64bd81f5ecdab52fecbdf7f6b58194">More...</a><br/></td></tr>
<trclass="memitem:gaa50fce7f50b5d5da881ed30f5532a921"><tdclass="memTemplParams"colspan="2">template<typename T ></td></tr>
<trclass="memitem:gaa50fce7f50b5d5da881ed30f5532a921"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#gaa50fce7f50b5d5da881ed30f5532a921">tweakedInfinitePerspective</a> (T fovy, T aspect, T near, T ep)</td></tr>
<trclass="memdesc:gaa50fce7f50b5d5da881ed30f5532a921"><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="a00169.html#gaa50fce7f50b5d5da881ed30f5532a921">More...</a><br/></td></tr>
<trclass="memitem:ga82a558de3ce42cbeed0f6ec292a4e1b3"><tdclass="memTemplParams"colspan="2">template<typename T , typename U , precision P></td></tr>
<trclass="memitem:ga82a558de3ce42cbeed0f6ec292a4e1b3"><tdclass="memTemplItemLeft"align="right"valign="top">GLM_FUNC_DECL tvec3< T, P > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00169.html#ga82a558de3ce42cbeed0f6ec292a4e1b3">unProject</a> (tvec3< T, P > const &win, tmat4x4< T, P > const &model, tmat4x4< T, P > const &proj, tvec4< U, P > const &viewport)</td></tr>
<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>
<p><<aclass="el"href="a00071.html"title="GLM_GTC_matrix_transform ">glm/gtc/matrix_transform.hpp</a>> need to be included to use these functionalities. </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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd></dl>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>eye</em>, </td>
</tr>
<tr>
<tdclass="paramkey"></td>
<td></td>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>center</em>, </td>
</tr>
<tr>
<tdclass="paramkey"></td>
<td></td>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>up</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><divclass="memdoc">
<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="a00169.html"title="Defines functions that generate common transformation matrices. ">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>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>eye</em>, </td>
</tr>
<tr>
<tdclass="paramkey"></td>
<td></td>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>center</em>, </td>
</tr>
<tr>
<tdclass="paramkey"></td>
<td></td>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>up</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><divclass="memdoc">
<p>Build a left handed look at view matrix. </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="a00169.html"title="Defines functions that generate common transformation matrices. ">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>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>eye</em>, </td>
</tr>
<tr>
<tdclass="paramkey"></td>
<td></td>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>center</em>, </td>
</tr>
<tr>
<tdclass="paramkey"></td>
<td></td>
<tdclass="paramtype">tvec3< T, P > const & </td>
<tdclass="paramname"><em>up</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><divclass="memdoc">
<p>Build a right handed look at view matrix. </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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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></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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</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="a00169.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- rotate(tmat4x4<T, P> const & m, T angle, T x, T y, T z) </dd>
<dd>
- rotate(T angle, tvec3<T, P> const & v) </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="a00169.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- scale(tmat4x4<T, P> const & m, T x, T y, T z) </dd>
<dd>
- scale(tvec3<T, P> const & v) </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="a00041.html">glm/glm.hpp</a>></span></div>
<divclass="line">glm::mat4 m = <aclass="code"href="a00169.html#gaee134ab77c6c5548a6ebf4e8e476c6ed">glm::translate</a>(<aclass="code"href="a00156.html#gade0eb47c01f79384a6f38017ede17446">glm::mat4</a>(1.0f), <aclass="code"href="a00156.html#gaa8ea2429bb3cb41a715258a447f39897">glm::vec3</a>(1.0f));</div>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00169.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd>
<dd>
- translate(tmat4x4<T, P> const & m, T x, T y, T z) </dd>
<dd>
- translate(tvec3<T, P> const & v) </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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">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="a00169.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd></dl>