1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>QUATExp</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">QUATExp</H1> 12<H2 align="left">C Specification</H2> 13<BLOCKQUOTE><CODE><CODE>#include <revolution/mtx.h></CODE></CODE></BLOCKQUOTE> 14<BLOCKQUOTE><CODE><CODE>void C_QUATExp ( const Quaternion* <EM>q</EM>, Quaternion* <EM>r</EM> );<BR> <BR> #define QUATExp C_QUATExp<BR></CODE></CODE></BLOCKQUOTE> 15<H2 align="left">Arguments</H2> 16<DIV align="left"> 17<TABLE border="1" cellpadding="3" cellspacing="0.1"> 18 <TBODY> 19 <TR> 20<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>q</EM></STRONG></CODE></TD> 21<TD width="520">Pointer to <A href="../structures/Quaternion_QuaternionPtr.html"><code>Quaternion</code></a> that is the exponent.</TD> 22 </TR> 23 <TR> 24<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>r</EM></STRONG></CODE></TD> 25<TD width="520">Pointer to resultant <A href="../structures/Quaternion_QuaternionPtr.html"><CODE>Quaternion</CODE></A>. Acceptable if <code><em><strong>q</strong></em> = <em><strong>r</strong></em></code>.</TD> 26 </TR> 27 </TBODY> 28</TABLE> 29</DIV> 30<H2 align="left">Return Values</H2> 31<P>None.</P> 32<H2 align="left">Description</H2> 33<P>Exponentiates a quaternion <code><em><strong>q</strong></em></code> and places resultant unit quaternion in <strong><em><code>r</code></em></strong>. <code><em><strong>q</strong></em></code> should be a pure quaternion (w = 0).</P> 34 35<P></P> 36<H2 align="left">See Also</H2> 37<P align="left"><A href="../structures/Quaternion_QuaternionPtr.html"><CODE>Quaternion, QuaternionPtr, </CODE></A><CODE><A href="QUATLogN.html">QUATLogN</A></CODE></P> 38<H2>Revision History</H2> 39<P>2006/03/01 Initial version.</P> 40<hr> 41<P>CONFIDENTIAL</p> 42</BODY> 43</HTML>