1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MTX_RotAxis43</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MTX_RotAxis43 <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<PRE><CODE>#include &lt;nitro/fx/fx_mtx43.h&gt;
20
21void MTX_RotAxis43(
22    MtxFx43* pDst,
23    const VecFx32* vec,
24    fx32 sinVal,
25    fx32 cosVal
26);</CODE></PRE>
27  </dd>
28</dl><h2>Arguments</h2>
29
30<table border="1" width="100%">
31
32
33
34    <TR>
35      <TD width="176"><em><strong><font face="Courier New">pDst</font></strong></em></TD>
36      <TD width="670">Pointer to a 4x3 matrix.</TD>
37    </TR>
38    <TR>
39      <TD><em><strong><font face="Courier New">vec</font></strong></em></TD>
40      <TD>Pointer to a vector.</TD>
41    </TR>
42    <TR>
43      <TD><em><strong><font face="Courier New"><em><strong><code>sinVal</code></strong></em>&nbsp;&nbsp;</font></strong></em></TD>
44      <TD>Sine of the angle of rotation</TD>
45    </TR>
46    <TR>
47      <TD><em><strong><font face="Courier New"><em><strong><code>cosVal</code></strong></em>&nbsp;&nbsp;</font></strong></em></TD>
48      <TD>Cosine of the angle of rotation</TD>
49    </TR>
50  </table>
51<h2>Return Values</h2>
52<p>None.</p>
53<H2>Description</H2>
54<P>*This function sets the rotation matrix for <em><strong><code>*vec</code></strong></em> in <em><strong><code>*pDst</code></strong></em>. The vector must be normalized in advance.</P>
55
56<h2>See Also</h2>
57<P><code><A href="MTX_RotX43.html">MTX_RotX43</A>, <A href="MTX_RotY43.html">MTX_RotY43</A>, <A href="MTX_RotZ43.html">MTX_RotZ43</A>, <A href="MtxFx43.html">MtxFx43</A>, <A href="../vec/VecFx32.html">VecFx32</A></code></P>
58<H2>Revision History</H2>
59<P>2004/01/19 Initial version.</P>
60<hr><p>CONFIDENTIAL</p></body>
61</html>
62