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>QUATSquad</title>
8  </head>
9  <body>
10<h1><CODE>nn::math::QUATSquad</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14NN_MATH_INLINE QUAT * QUATSquad(
15     QUAT * pOut,
16     const QUAT * p,
17     const QUAT * a,
18     const QUAT * b,
19     const QUAT * q,
20     f32 t
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>out</td>
36<th>pOut</th>
37<td>Pointer to the buffer that receives the result of the calculation. It is not a problem if this points to the same quaternion as <SPAN class="argument">p</SPAN>, <SPAN class="argument">a</SPAN>, <SPAN class="argument">b</SPAN>, and/or <SPAN class="argument">q</SPAN>.</td>
38        </tr>
39        <tr>
40<td>in</td>
41<th>p</th>
42<td>Pointer to the quaternion serving as the starting point for spherical cubic interpolation.</td>
43        </tr>
44        <tr>
45<td>in</td>
46<th>a</th>
47<td>Pointer to quaternion used for controlling spherical cubic interpolation.</td>
48        </tr>
49        <tr>
50<td>in</td>
51<th>b</th>
52<td>Pointer to quaternion used for controlling spherical cubic interpolation.</td>
53        </tr>
54        <tr>
55<td>in</td>
56<th>q</th>
57<td>Pointer to the quaternion serving as the ending point for spherical cubic interpolation.</td>
58        </tr>
59        <tr>
60<td>in</td>
61<th>t</th>
62<td>Spherical linear interpolation parameter. The result is <SPAN class="argument">q1</SPAN> when this is <CODE>0.0</CODE> and <SPAN class="argument">q2</SPAN> when this is <CODE>1.0</CODE>.</td>
63        </tr> </table>
64    </div>
65<h2>Return Values</h2>
66<div class="section">Returns <SPAN class="argument">pOut</SPAN>. </div>
67<h2>Description</h2>
68    <div class="section">
69<p>Calculates the spherical cubic interpolation between two quaternions.</p>
70    </div>
71  <hr><p>CONFIDENTIAL</p></body>
72</html>