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>CalcPan</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/snd/Overview.html">snd</a>::<a href="../../../nw/snd/Sound3DCalculator/Overview.html">Sound3DCalculator</a>::CalcPan</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">#include &lt;nw/snd/snd_Sound3DCalculator.h&gt;
14static void CalcPan(
15     const <a href="../../../nw/snd/Sound3DManager/Overview.html">Sound3DManager</a> & manager,
16     const <a href="../../../nw/snd/Sound3DListener/Overview.html">Sound3DListener</a> & listener,
17     const <a href="../../../nw/snd/Sound3DParam/Overview.html">Sound3DParam</a> & actorParam,
18     const <a href="../../../nw/snd/Sound3DCalculator/CalcPanParam/Overview.html">CalcPanParam</a> & calcPanParam,
19     <span>f32</span> * panPtr,
20     <span>f32</span> * spanPtr
21);
22</pre>
23    </div>
24    <h2>Arguments</h2>
25    <div class="section">
26      <table class="arguments">
27        <thead>
28          <tr>
29            <td width="15" />
30            <th>Name</th>
31            <td>Description</td>
32          </tr>
33        </thead>
34        <tr>
35          <td>in</td>
36          <th>manager</th>
37          <td>3D sound manager used in the calculation.</td>
38        </tr>
39        <tr>
40          <td>in</td>
41          <th>listener</th>
42          <td>3D sound listener used in the calculation.</td>
43        </tr>
44        <tr>
45          <td>in</td>
46          <th>actorParam</th>
47          <td>3D sound parameter used in the calculation.</td>
48        </tr>
49        <tr>
50          <td>in</td>
51          <th>calcPanParam</th>
52          <td>Parameter used in the pan calculation.</td>
53        </tr>
54        <tr>
55          <td>out</td>
56          <th>panPtr</th>
57          <td>Pointer that stores the result of the pan calculation.</td>
58        </tr>
59        <tr>
60          <td>out</td>
61          <th>spanPtr</th>
62          <td>Currently disabled.</td>
63        </tr> </table>
64    </div>
65    <h2>Return Values</h2>
66    <div class="section">
67                None.
68               </div>
69    <h2>Description</h2>
70    <div class="section">
71      <p>Performs standard 3D sound parameter calculations for pan.</p>
72    </div>
73    <h2>See Also</h2>
74    <div class="section">
75      <p class="reference"><CODE><a href="../../../nw/snd/Sound3DManager/Overview.html">Sound3DManager</a></CODE> Class<br /><CODE><a href="../../../nw/snd/Sound3DListener/Overview.html">Sound3DListener</a></CODE> Class<br /><CODE><a href="../../../nw/snd/Sound3DParam/Overview.html">Sound3DParam</a></CODE> Structure<br /><CODE><a href="../../../nw/snd/Sound3DCalculator/CalcPanParam/Overview.html">CalcPanParam</a></CODE> Structure<br /> </p>
76    </div>
77    <h2>Revision History</h2>
78    <div class="section">
79      <dl class="history">
80        <dt>2010/03/12</dt>
81        <dd>Initial version.<br />
82        </dd>
83      </dl>
84    </div>
85  <hr><p>CONFIDENTIAL</p></body>
86</html>
87