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 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>G3_RotX</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G3_RotX <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<CODE>#include <nitro/gx/g3_util.h></CODE><BR> 20 <BR> 21 <CODE>void G3_RotX(fx32 s, fx32 c);</CODE></dd> 22</dl><h2>Arguments</h2> 23<TABLE border="1" width="100%"> 24 <TBODY> 25 <TR> 26 <TD width="190"><em><strong><font face="Courier New">s</font></strong></em></TD> 27 <TD width="512">Sine of the angle of rotation</TD> 28 </TR> 29 <TR> 30 <TD width="190"><em><strong><font face="Courier New">c</font></strong></em></TD> 31 <TD width="512">Cosine of the angle of rotation</TD> 32 </TR> 33 </TBODY> 34</TABLE> 35<h2>Return Values</h2> 36<p>None.</p> 37<H2>Description</H2> 38<P>This function premultiplies the current matrix with the rotation matrix for the x-axis. If the current matrix is <code>C</code>, then the new matrix, <code>C<SUB>new</SUB></code>, is in the format shown below.</P> 39<P><span lang=EN-US style='font-size:10.5pt;mso-bidi-font-size: 12.0pt;font-family:Century;mso-fareast-font-family:"MS ??";mso-bidi-font-family: "Times New Roman";mso-font-kerning:1.0pt;mso-ansi-language:EN-US;mso-fareast-language: JA;mso-bidi-language:AR-SA'><span style='mso-text-raise:-33.0pt'><IMG width="163" height="96" src="geo_rot_x.gif" v:shapes="_x0000_i1025"></span></span></P> 40<h2>See Also</h2> 41<P><code><A href="G3_RotY.html">G3_RotY</A>, <A href="G3_RotZ.html">G3_RotZ</A></code></P> 42<H2>Revision History</H2> 43<P>2004/01/19 Initial version.</P> 44<hr><p>CONFIDENTIAL</p></body> 45</html> 46