mirror of
https://github.com/g-truc/glm.git
synced 2024-12-01 20:24:38 +00:00
172 lines
8.4 KiB
HTML
172 lines
8.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>GLM: glm::gtx::matrix_projection Namespace Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.6.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
|
|
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navpath"><a class="el" href="a00124.html">glm</a>::<a class="el" href="a00150.html">gtx</a>::<a class="el" href="a00182.html">matrix_projection</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>glm::gtx::matrix_projection Namespace Reference</h1>
|
|
<p>GLM_GTX_matrix_projection: Varius ways to build and operate on <a class="el" href="a00196.html" title="GLM_GTX_projection extension: Projection of a vector to other one.">projection</a> matrices.
|
|
<a href="#_details">More...</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Functions</h2></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00182.html#a001be6e1a43fedaf815ab842e4b21474">infinitePerspective</a> (T fovy, T aspect, T zNear)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite . <a href="#a001be6e1a43fedaf815ab842e4b21474"></a><br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00182.html#afe83fe7344e7fb4a13b5e213ffc5f5cf">perspectiveFov</a> (valType const &fov, valType const &width, valType const &height, valType const &zNear, valType const &zFar)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Builds a perspective <a class="el" href="a00196.html" title="GLM_GTX_projection extension: Projection of a vector to other one.">projection</a> matrix based on a field of view From GLM_GTX_matrix_projection extension. <a href="#afe83fe7344e7fb4a13b5e213ffc5f5cf"></a><br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00182.html#a1b51482aa788ab977c4bdb8baf64c97d">tweakedInfinitePerspective</a> (T fovy, T aspect, T zNear)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. <a href="#a1b51482aa788ab977c4bdb8baf64c97d"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>GLM_GTX_matrix_projection: Varius ways to build and operate on <a class="el" href="a00196.html" title="GLM_GTX_projection extension: Projection of a vector to other one.">projection</a> matrices. </p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="a001be6e1a43fedaf815ab842e4b21474"></a><!-- doxytag: member="glm::gtx::matrix_projection::infinitePerspective" ref="a001be6e1a43fedaf815ab842e4b21474" args="(T fovy, T aspect, T zNear)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::gtx::matrix_projection::infinitePerspective </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"> <em>fovy</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"> <em>aspect</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"> <em>zNear</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Creates a matrix for a symmetric perspective-view frustum with far plane at infinite . </p>
|
|
<p>From GLM_GTX_matrix_projection extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afe83fe7344e7fb4a13b5e213ffc5f5cf"></a><!-- doxytag: member="glm::gtx::matrix_projection::perspectiveFov" ref="afe83fe7344e7fb4a13b5e213ffc5f5cf" args="(valType const &fov, valType const &width, valType const &height, valType const &zNear, valType const &zFar)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<valType> glm::gtx::matrix_projection::perspectiveFov </td>
|
|
<td>(</td>
|
|
<td class="paramtype">valType const & </td>
|
|
<td class="paramname"> <em>fov</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">valType const & </td>
|
|
<td class="paramname"> <em>width</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">valType const & </td>
|
|
<td class="paramname"> <em>height</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">valType const & </td>
|
|
<td class="paramname"> <em>zNear</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">valType const & </td>
|
|
<td class="paramname"> <em>zFar</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Builds a perspective <a class="el" href="a00196.html" title="GLM_GTX_projection extension: Projection of a vector to other one.">projection</a> matrix based on a field of view From GLM_GTX_matrix_projection extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1b51482aa788ab977c4bdb8baf64c97d"></a><!-- doxytag: member="glm::gtx::matrix_projection::tweakedInfinitePerspective" ref="a1b51482aa788ab977c4bdb8baf64c97d" args="(T fovy, T aspect, T zNear)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::gtx::matrix_projection::tweakedInfinitePerspective </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"> <em>fovy</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"> <em>aspect</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"> <em>zNear</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<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>
|
|
<p>From GLM_GTX_matrix_projection extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Nov 16 11:23:25 2009 for GLM by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
|
</body>
|
|
</html>
|