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>MTX34TextureProjectionFrustum</title>
8  </head>
9  <body>
10<h1><CODE>nn::math::MTX34TextureProjectionFrustum</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14NN_MATH_INLINE <a href="../../nn/math/MTX34/Overview.html">MTX34</a> * MTX34TextureProjectionFrustum(
15     <a href="../../nn/math/MTX34/Overview.html">MTX34</a> * pOut,
16     f32 l,
17     f32 r,
18     f32 b,
19     f32 t,
20     f32 n,
21     f32 scaleS,
22     f32 scaleT,
23     f32 translateS,
24     f32 translateT
25);
26</pre>
27    </div>
28<h2>Arguments</h2>
29    <div class="section">
30      <table class="arguments">
31        <thead>
32          <tr>
33            <td width="15" />
34<th>Name</th>
35<td>Description</td>
36          </tr>
37        </thead>
38        <tr>
39<td>out</td>
40<th>pOut</th>
41<td>Pointer to the buffer that receives the result of the calculation.</td>
42        </tr>
43        <tr>
44<td>in</td>
45<th>l</th>
46<td>Left edge of the near clipping plane.</td>
47        </tr>
48        <tr>
49<td>in</td>
50<th>r</th>
51<td>Right edge of the near clipping plane.</td>
52        </tr>
53        <tr>
54<td>in</td>
55<th>b</th>
56<td>Bottom edge of the near clipping plane.</td>
57        </tr>
58        <tr>
59<td>in</td>
60<th>t</th>
61<td>Top edge of the near clipping plane.</td>
62        </tr>
63        <tr>
64<td>in</td>
65<th>n</th>
66<td>Distance from the camera to the near clipping plane.</td>
67        </tr>
68        <tr>
69<td>in</td>
70<th>scaleS</th>
71<td>Scale value along the s-axis.</td>
72        </tr>
73        <tr>
74<td>in</td>
75<th>scaleT</th>
76<td>Scale value along the t-axis.</td>
77        </tr>
78        <tr>
79<td>in</td>
80<th>translateS</th>
81<td>Translation value along the s-axis.</td>
82        </tr>
83        <tr>
84<td>in</td>
85<th>translateT</th>
86<td>Translation value along the t-axis.</td>
87        </tr> </table>
88    </div>
89<h2>Return Values</h2>
90<div class="section">Returns <SPAN class="argument">pOut</SPAN>. </div>
91<h2>Description</h2>
92    <div class="section">
93<p>Creates a texture projection matrix based on the viewing frustum.</p><!-- write here --></div>
94<h2>Revision History</h2>
95    <div class="section">
96      <dl class="history">
97        <dt>2010/06/14</dt>
98<dd>Initial version.<br />
99        </dd>
100      </dl>
101    </div>
102  <hr><p>CONFIDENTIAL</p></body>
103</html>