defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#gada6deb989d4b553fe0f7e3279f3afae1">frustum</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#ga79f704ad91a5f0d68abd88c66c8186e5">infinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#ga65280251de6e38580110a0577a43d8f8">ortho</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#ga45b1b64f99255c07119b4f1aaed04dd7">ortho</a> (T left, T right, T bottom, T top)</td></tr>
defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#gac3613dcb6c6916465ad5b7ad5a786175">perspective</a> (T fovy, T aspect, T near, T far)</td></tr>
defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#gae9146e2c550fc8646299e4b900238145">perspectiveFov</a> (T fov, T width, T height, T near, T far)</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="a00171.html#ga9026c77505b99990f68826f27c267dc5">pickMatrix</a> (tvec2< T, P > const &center, tvec2< T, P > const &delta, tvec4< U, P > const &viewport)</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="a00171.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="a00171.html#ga161b1df124348f232d994ba7958e4815">rotate</a> (tmat4x4< T, P > const &m, T angle, tvec3< T, P > const &axis)</td></tr>
defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#gaed64bd81f5ecdab52fecbdf7f6b58194">tweakedInfinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
defaultp > </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="a00171.html#gaa50fce7f50b5d5da881ed30f5532a921">tweakedInfinitePerspective</a> (T fovy, T aspect, T near, T ep)</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="a00171.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="a00075.html"title="OpenGL Mathematics (glm.g-truc.net) ">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="a00171.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. </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="a00171.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. </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="a00171.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="a00171.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="a00171.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>
<p>Creates a matrix for a 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="a00171.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd></dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00171.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="a00171.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="a00171.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="a00171.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="a00171.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="a00039.html">glm/glm.hpp</a>></span></div>
<divclass="line">glm::mat4 m = <aclass="code"href="a00171.html#gaee134ab77c6c5548a6ebf4e8e476c6ed">glm::translate</a>(<aclass="code"href="a00161.html#gade0eb47c01f79384a6f38017ede17446">glm::mat4</a>(1.0f), <aclass="code"href="a00161.html#gaa8ea2429bb3cb41a715258a447f39897">glm::vec3</a>(1.0f));</div>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00171.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="a00171.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="a00171.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd></dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="a00171.html"title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a></dd></dl>