1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>SetupFrustum</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/math/Overview.html">math</a>::<a href="../../../nn/math/MTX44/Overview.html">MTX44</a>::SetupFrustum</CODE> Member Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn/math/MTX44/Overview.html">self_type</a> & SetupFrustum(
15     <a href="../../../nn_types/f32.html">f32</a> l,
16     <a href="../../../nn_types/f32.html">f32</a> r,
17     <a href="../../../nn_types/f32.html">f32</a> b,
18     <a href="../../../nn_types/f32.html">f32</a> t,
19     <a href="../../../nn_types/f32.html">f32</a> n,
20     <a href="../../../nn_types/f32.html">f32</a> f,
21     <a href="../../../nn/math/PivotDirection.html">PivotDirection</a> pivot = PIVOT_NONE
22);
23</pre>
24    </div>
25<h2>Parameters</h2>
26    <div class="section">
27      <table class="arguments">
28        <thead>
29          <tr>
30            <td width="15" />
31<th>Name</th>
32<td>Description</td>
33          </tr>
34        </thead>
35        <tr>
36<td>in</td>
37<th>l</th>
38<td>X-coordinate of the left edge of the viewing frustum at the near clipping plane.</td>
39        </tr>
40        <tr>
41<td>in</td>
42<th>r</th>
43<td>X-coordinate of the right edge of the viewing frustum at the near clipping plane.</td>
44        </tr>
45        <tr>
46<td>in</td>
47<th>b</th>
48<td>Y-coordinate of the bottom edge of the viewing frustum at the near clipping plane.</td>
49        </tr>
50        <tr>
51<td>in</td>
52<th>t</th>
53<td>Y-coordinate of the top edge of the viewing frustum at the near clipping plane.</td>
54        </tr>
55        <tr>
56<td>in</td>
57<th>n</th>
58<td>Distance to the near clipping plane.</td>
59        </tr>
60        <tr>
61<td>in</td>
62<th>f</th>
63<td>Distance to the far clipping plane.</td>
64        </tr>
65        <tr>
66<td>in</td>
67<th>pivot</th>
68<td>Direction of the screen rotation.</td>
69        </tr> </table>
70    </div>
71<h2>Return Values</h2>
72    <div class="section"> </div>
73<h2>Description</h2>
74    <div class="section">
75<p>Sets up a projection matrix based on the viewing frustum at the near clipping plane. <BR><B>Note:</B> The order of the arguments follows the OpenGL standard.</p><!-- write here --></div>
76<h2>Revision History</h2>
77    <div class="section">
78      <dl class="history">
79        <dt>2010/01/29</dt>
80<dd>Initial version.<br />
81        </dd>
82      </dl>
83    </div>
84  <hr><p>CONFIDENTIAL</p></body>
85</html>
86