source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1Math.html @ 657

Revision 657, 124.8 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::Math class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::Math Class Reference</h1>Class to provide access to common mathematical functions. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>&gt;</code>
14<p>
15<a href="classOgre_1_1Math-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
16<tr><td></td></tr>
17<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
18<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">AngleUnit</a> { <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2Ogre_1_1Mathw0">AU_DEGREE</a>,
19<a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2Ogre_1_1Mathw1">AU_RADIAN</a>
20 }</td></tr>
21
22<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The angular units used by the API.  <a href="#Ogre_1_1Mathw2">More...</a><br><br></td></tr>
23<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
24<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matha0">Math</a> (unsigned int trigTableSize=4096)</td></tr>
25
26<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#Ogre_1_1Matha0"></a><br><br></td></tr>
27<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matha1">~Math</a> ()</td></tr>
28
29<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default destructor.  <a href="#Ogre_1_1Matha1"></a><br><br></td></tr>
30<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
31<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe0">IAbs</a> (int iValue)</td></tr>
32
33<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe1">ICeil</a> (float fValue)</td></tr>
34
35<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe2">IFloor</a> (float fValue)</td></tr>
36
37<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe3">ISign</a> (int iValue)</td></tr>
38
39<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe4">Abs</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
40
41<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Degree.html">Degree</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe5">Abs</a> (const <a class="el" href="classOgre_1_1Degree.html">Degree</a> &amp;dValue)</td></tr>
42
43<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe6">Abs</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;rValue)</td></tr>
44
45<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe7">ACos</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
46
47<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe8">ASin</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
48
49<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe9">ATan</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
50
51<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe10">ATan2</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fY, <a class="el" href="namespaceOgre.html#a420">Real</a> fX)</td></tr>
52
53<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe11">Ceil</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
54
55<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe12">Cos</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;fValue, bool useTables=false)</td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cosine function.  <a href="#Ogre_1_1Mathe12"></a><br><br></td></tr>
58<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe13">Cos</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue, bool useTables=false)</td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cosine function.  <a href="#Ogre_1_1Mathe13"></a><br><br></td></tr>
61<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe14">Exp</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
62
63<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe15">Floor</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
64
65<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe16">Log</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
66
67<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe17">Pow</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fBase, <a class="el" href="namespaceOgre.html#a420">Real</a> fExponent)</td></tr>
68
69<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe18">Sign</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
70
71<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe19">Sign</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;rValue)</td></tr>
72
73<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Degree.html">Degree</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe20">Sign</a> (const <a class="el" href="classOgre_1_1Degree.html">Degree</a> &amp;dValue)</td></tr>
74
75<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe21">Sin</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;fValue, bool useTables=false)</td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sine function.  <a href="#Ogre_1_1Mathe21"></a><br><br></td></tr>
78<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe22">Sin</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue, bool useTables=false)</td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sine function.  <a href="#Ogre_1_1Mathe22"></a><br><br></td></tr>
81<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe23">Sqr</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
82
83<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe24">Sqrt</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
84
85<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe25">Sqrt</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;fValue)</td></tr>
86
87<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Degree.html">Degree</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe26">Sqrt</a> (const <a class="el" href="classOgre_1_1Degree.html">Degree</a> &amp;fValue)</td></tr>
88
89<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe27">InvSqrt</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inverse square root i.e.  <a href="#Ogre_1_1Mathe27"></a><br><br></td></tr>
92<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe28">UnitRandom</a> ()</td></tr>
93
94<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe29">RangeRandom</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fLow, <a class="el" href="namespaceOgre.html#a420">Real</a> fHigh)</td></tr>
95
96<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe30">SymmetricRandom</a> ()</td></tr>
97
98<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe31">Tan</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;fValue, bool useTables=false)</td></tr>
99
100<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tangent function.  <a href="#Ogre_1_1Mathe31"></a><br><br></td></tr>
101<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe32">Tan</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue, bool useTables=false)</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tangent function.  <a href="#Ogre_1_1Mathe32"></a><br><br></td></tr>
104<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe33">DegreesToRadians</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> degrees)</td></tr>
105
106<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe34">RadiansToDegrees</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> radians)</td></tr>
107
108<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe35">setAngleUnit</a> (<a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">AngleUnit</a> unit)</td></tr>
109
110<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">These functions used to set the assumed angle units (radians or degrees) expected when using the <a class="el" href="classOgre_1_1Angle.html">Angle</a> type.  <a href="#Ogre_1_1Mathe35"></a><br><br></td></tr>
111<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">AngleUnit</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe36">getAngleUnit</a> (void)</td></tr>
112
113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the unit being used for angles.  <a href="#Ogre_1_1Mathe36"></a><br><br></td></tr>
114<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe37">AngleUnitsToRadians</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> units)</td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert from the current AngleUnit to radians.  <a href="#Ogre_1_1Mathe37"></a><br><br></td></tr>
117<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe38">RadiansToAngleUnits</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> radians)</td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert from radians to the current AngleUnit .  <a href="#Ogre_1_1Mathe38"></a><br><br></td></tr>
120<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe39">AngleUnitsToDegrees</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> units)</td></tr>
121
122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert from the current AngleUnit to degrees.  <a href="#Ogre_1_1Mathe39"></a><br><br></td></tr>
123<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe40">DegreesToAngleUnits</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> degrees)</td></tr>
124
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert from degrees to the current AngleUnit.  <a href="#Ogre_1_1Mathe40"></a><br><br></td></tr>
126<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe41">pointInTri2D</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> px, <a class="el" href="namespaceOgre.html#a420">Real</a> pz, <a class="el" href="namespaceOgre.html#a420">Real</a> ax, <a class="el" href="namespaceOgre.html#a420">Real</a> az, <a class="el" href="namespaceOgre.html#a420">Real</a> bx, <a class="el" href="namespaceOgre.html#a420">Real</a> bz, <a class="el" href="namespaceOgre.html#a420">Real</a> cx, <a class="el" href="namespaceOgre.html#a420">Real</a> cz)</td></tr>
127
128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks wether a given point is inside a triangle, in a 2-dimensional (Cartesian) space.  <a href="#Ogre_1_1Mathe41"></a><br><br></td></tr>
129<tr><td class="memItemLeft" nowrap align=right valign=top>std::pair&lt; bool, <a class="el" href="namespaceOgre.html#a420">Real</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe42">intersects</a> (const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;ray, const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;plane)</td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Ray.html">Ray</a> / plane intersection, returns boolean result and distance.  <a href="#Ogre_1_1Mathe42"></a><br><br></td></tr>
132<tr><td class="memItemLeft" nowrap align=right valign=top>std::pair&lt; bool, <a class="el" href="namespaceOgre.html#a420">Real</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe43">intersects</a> (const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;ray, const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;sphere, bool discardInside=true)</td></tr>
133
134<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Ray.html">Ray</a> / sphere intersection, returns boolean result and distance.  <a href="#Ogre_1_1Mathe43"></a><br><br></td></tr>
135<tr><td class="memItemLeft" nowrap align=right valign=top>std::pair&lt; bool, <a class="el" href="namespaceOgre.html#a420">Real</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe44">intersects</a> (const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;ray, const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;sphere)</td></tr>
136
137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Ray.html">Ray</a> / box intersection, returns boolean result and distance.  <a href="#Ogre_1_1Mathe44"></a><br><br></td></tr>
138<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe45">intersects</a> (const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;sphere, const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;box)</td></tr>
139
140<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Sphere.html">Sphere</a> / box intersection test.  <a href="#Ogre_1_1Mathe45"></a><br><br></td></tr>
141<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe46">intersects</a> (const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;plane, const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;box)</td></tr>
142
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Plane.html">Plane</a> / box intersection test.  <a href="#Ogre_1_1Mathe46"></a><br><br></td></tr>
144<tr><td class="memItemLeft" nowrap align=right valign=top>std::pair&lt; bool, <a class="el" href="namespaceOgre.html#a420">Real</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe47">intersects</a> (const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;ray, const std::vector&lt; <a class="el" href="classOgre_1_1Plane.html">Plane</a> &gt; &amp;planeList, bool normalIsOutside)</td></tr>
145
146<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Ray.html">Ray</a> / convex plane list intersection test.  <a href="#Ogre_1_1Mathe47"></a><br><br></td></tr>
147<tr><td class="memItemLeft" nowrap align=right valign=top>std::pair&lt; bool, <a class="el" href="namespaceOgre.html#a420">Real</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe48">intersects</a> (const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;ray, const std::list&lt; <a class="el" href="classOgre_1_1Plane.html">Plane</a> &gt; &amp;planeList, bool normalIsOutside)</td></tr>
148
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Ray.html">Ray</a> / convex plane list intersection test.  <a href="#Ogre_1_1Mathe48"></a><br><br></td></tr>
150<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe49">intersects</a> (const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;sphere, const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;plane)</td></tr>
151
152<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Sphere.html">Sphere</a> / plane intersection test.  <a href="#Ogre_1_1Mathe49"></a><br><br></td></tr>
153<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe50">RealEqual</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> a, <a class="el" href="namespaceOgre.html#a420">Real</a> b, <a class="el" href="namespaceOgre.html#a420">Real</a> tolerance=std::numeric_limits&lt; <a class="el" href="namespaceOgre.html#a420">Real</a> &gt;::epsilon())</td></tr>
154
155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare 2 reals, using tolerance for inaccuracies.  <a href="#Ogre_1_1Mathe50"></a><br><br></td></tr>
156<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe51">calculateTangentSpaceVector</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;position1, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;position2, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;position3, <a class="el" href="namespaceOgre.html#a420">Real</a> u1, <a class="el" href="namespaceOgre.html#a420">Real</a> v1, <a class="el" href="namespaceOgre.html#a420">Real</a> u2, <a class="el" href="namespaceOgre.html#a420">Real</a> v2, <a class="el" href="namespaceOgre.html#a420">Real</a> u3, <a class="el" href="namespaceOgre.html#a420">Real</a> v3)</td></tr>
157
158<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculates the tangent space vector for a given set of positions / texture coords.  <a href="#Ogre_1_1Mathe51"></a><br><br></td></tr>
159<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe52">buildReflectionMatrix</a> (const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;p)</td></tr>
160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Build a reflection matrix for the passed in plane.  <a href="#Ogre_1_1Mathe52"></a><br><br></td></tr>
162<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector4.html">Vector4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe53">calculateFaceNormal</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v1, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v2, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v3)</td></tr>
163
164<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate a face normal, including the w component which is the offset from the origin.  <a href="#Ogre_1_1Mathe53"></a><br><br></td></tr>
165<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe54">calculateBasicFaceNormal</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v1, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v2, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v3)</td></tr>
166
167<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate a face normal, no w-information.  <a href="#Ogre_1_1Mathe54"></a><br><br></td></tr>
168<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector4.html">Vector4</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe55">calculateFaceNormalWithoutNormalize</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v1, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v2, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v3)</td></tr>
169
170<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate a face normal without normalize, including the w component which is the offset from the origin.  <a href="#Ogre_1_1Mathe55"></a><br><br></td></tr>
171<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe56">calculateBasicFaceNormalWithoutNormalize</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v1, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v2, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v3)</td></tr>
172
173<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate a face normal without normalize, no w-information.  <a href="#Ogre_1_1Mathe56"></a><br><br></td></tr>
174<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
175<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths0">POS_INFINITY</a></td></tr>
176
177<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths1">NEG_INFINITY</a></td></tr>
178
179<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths2">PI</a></td></tr>
180
181<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths3">TWO_PI</a></td></tr>
182
183<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths4">HALF_PI</a></td></tr>
184
185<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths5">fDeg2Rad</a></td></tr>
186
187<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths6">fRad2Deg</a></td></tr>
188
189<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
190<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathb0">buildTrigTables</a> ()</td></tr>
191
192<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Private function to build trig tables.  <a href="#Ogre_1_1Mathb0"></a><br><br></td></tr>
193<tr><td colspan=2><br><h2>Static Protected Member Functions</h2></td></tr>
194<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathf0">SinTable</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
195
196<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathf1">TanTable</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fValue)</td></tr>
197
198<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
199<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">AngleUnit</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht0">msAngleUnit</a></td></tr>
200
201<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht1">mTrigTableSize</a></td></tr>
202
203<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the trig tables as determined by constructor.  <a href="#Ogre_1_1Matht1"></a><br><br></td></tr>
204<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht2">mTrigTableFactor</a></td></tr>
205
206<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classOgre_1_1Radian.html">Radian</a> -&gt; index factor value ( mTrigTableSize / 2 * PI ).  <a href="#Ogre_1_1Matht2"></a><br><br></td></tr>
207<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht3">mSinTable</a></td></tr>
208
209<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht4">mTanTable</a></td></tr>
210
211</table>
212<hr><a name="_details"></a><h2>Detailed Description</h2>
213Class to provide access to common mathematical functions.
214<p>
215<dl compact><dt><b>Remarks:</b></dt><dd>Most of the maths functions are aliased versions of the C runtime library functions. They are aliased here to provide future optimisation opportunities, either from faster RTLs or custom math approximations. </dd></dl>
216<dl compact><dt><b>Note:</b></dt><dd><br>
217This is based on MgcMath.h from <a href="http://www.magic-software.com">Wild Magic</a>. </dd></dl>
218
219<p>
220
221<p>
222Definition at line <a class="el" href="OgreMath_8h-source.html#l00165">165</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.<hr><h2>Member Enumeration Documentation</h2>
223<a class="anchor" name="Ogre_1_1Mathw2" doxytag="Ogre::Math::AngleUnit" ></a><p>
224<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
225  <tr>
226    <td class="mdRow">
227      <table cellpadding="0" cellspacing="0" border="0">
228        <tr>
229          <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">Ogre::Math::AngleUnit</a>
230      </table>
231    </td>
232  </tr>
233</table>
234<table cellspacing=5 cellpadding=0 border=0>
235  <tr>
236    <td>
237      &nbsp;
238    </td>
239    <td>
240
241<p>
242The angular units used by the API.
243<p>
244This functionality is now deprecated in favor of discreet angular unit types ( see <a class="el" href="classOgre_1_1Degree.html">Degree</a> and <a class="el" href="classOgre_1_1Radian.html">Radian</a> above ). The only place this functionality is actually still used is when parsing files. Search for usage of the <a class="el" href="classOgre_1_1Angle.html">Angle</a> class for those instances <dl compact><dt><b>Enumeration values: </b></dt><dd>
245<table border=0 cellspacing=2 cellpadding=0>
246<tr><td valign=top><em><a class="anchor" name="Ogre_1_1Mathw2Ogre_1_1Mathw0" doxytag="AU_DEGREE" ></a>AU_DEGREE</em>&nbsp;</td><td>
247</td></tr>
248<tr><td valign=top><em><a class="anchor" name="Ogre_1_1Mathw2Ogre_1_1Mathw1" doxytag="AU_RADIAN" ></a>AU_RADIAN</em>&nbsp;</td><td>
249</td></tr>
250</table>
251</dl>
252
253<p>
254Definition at line <a class="el" href="OgreMath_8h-source.html#l00173">173</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
255  </tr>
256</table>
257<hr><h2>Constructor &amp; Destructor Documentation</h2>
258<a class="anchor" name="Ogre_1_1Matha0" doxytag="Ogre::Math::Math" ></a><p>
259<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
260  <tr>
261    <td class="mdRow">
262      <table cellpadding="0" cellspacing="0" border="0">
263        <tr>
264          <td class="md" nowrap valign="top"> Ogre::Math::Math </td>
265          <td class="md" valign="top">(&nbsp;</td>
266          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>
267          <td class="mdname1" valign="top" nowrap> <em>trigTableSize</em> = 4096          </td>
268          <td class="md" valign="top">&nbsp;)&nbsp;</td>
269          <td class="md" nowrap></td>
270        </tr>
271
272      </table>
273    </td>
274  </tr>
275</table>
276<table cellspacing=5 cellpadding=0 border=0>
277  <tr>
278    <td>
279      &nbsp;
280    </td>
281    <td>
282
283<p>
284Default constructor.
285<p>
286<dl compact><dt><b>Parameters:</b></dt><dd>
287  <table border="0" cellspacing="2" cellpadding="0">
288    <tr><td valign=top><em>trigTableSize</em>&nbsp;</td><td>Optional parameter to set the size of the tables used to implement Sin, Cos, Tan </td></tr>
289  </table>
290</dl>
291    </td>
292  </tr>
293</table>
294<a class="anchor" name="Ogre_1_1Matha1" doxytag="Ogre::Math::~Math" ></a><p>
295<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
296  <tr>
297    <td class="mdRow">
298      <table cellpadding="0" cellspacing="0" border="0">
299        <tr>
300          <td class="md" nowrap valign="top"> Ogre::Math::~<a class="el" href="classOgre_1_1Math.html">Math</a> </td>
301          <td class="md" valign="top">(&nbsp;</td>
302          <td class="mdname1" valign="top" nowrap>          </td>
303          <td class="md" valign="top">&nbsp;)&nbsp;</td>
304          <td class="md" nowrap></td>
305        </tr>
306
307      </table>
308    </td>
309  </tr>
310</table>
311<table cellspacing=5 cellpadding=0 border=0>
312  <tr>
313    <td>
314      &nbsp;
315    </td>
316    <td>
317
318<p>
319Default destructor.
320<p>
321    </td>
322  </tr>
323</table>
324<hr><h2>Member Function Documentation</h2>
325<a class="anchor" name="Ogre_1_1Mathe6" doxytag="Ogre::Math::Abs" ></a><p>
326<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
327  <tr>
328    <td class="mdRow">
329      <table cellpadding="0" cellspacing="0" border="0">
330        <tr>
331          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> Ogre::Math::Abs </td>
332          <td class="md" valign="top">(&nbsp;</td>
333          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
334          <td class="mdname1" valign="top" nowrap> <em>rValue</em>          </td>
335          <td class="md" valign="top">&nbsp;)&nbsp;</td>
336          <td class="md" nowrap><code> [static]</code></td>
337        </tr>
338
339      </table>
340    </td>
341  </tr>
342</table>
343<table cellspacing=5 cellpadding=0 border=0>
344  <tr>
345    <td>
346      &nbsp;
347    </td>
348    <td>
349
350<p>
351
352<p>
353Definition at line <a class="el" href="OgreMath_8h-source.html#l00216">216</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
354<p>
355References <a class="el" href="OgreMath_8h-source.html#l00049">Ogre::Radian::valueRadians()</a>.    </td>
356  </tr>
357</table>
358<a class="anchor" name="Ogre_1_1Mathe5" doxytag="Ogre::Math::Abs" ></a><p>
359<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
360  <tr>
361    <td class="mdRow">
362      <table cellpadding="0" cellspacing="0" border="0">
363        <tr>
364          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Degree.html">Degree</a> Ogre::Math::Abs </td>
365          <td class="md" valign="top">(&nbsp;</td>
366          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Degree.html">Degree</a> &amp;&nbsp;</td>
367          <td class="mdname1" valign="top" nowrap> <em>dValue</em>          </td>
368          <td class="md" valign="top">&nbsp;)&nbsp;</td>
369          <td class="md" nowrap><code> [static]</code></td>
370        </tr>
371
372      </table>
373    </td>
374  </tr>
375</table>
376<table cellspacing=5 cellpadding=0 border=0>
377  <tr>
378    <td>
379      &nbsp;
380    </td>
381    <td>
382
383<p>
384
385<p>
386Definition at line <a class="el" href="OgreMath_8h-source.html#l00215">215</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
387<p>
388References <a class="el" href="OgreMath_8h-source.html#l00091">Ogre::Degree::valueDegrees()</a>.    </td>
389  </tr>
390</table>
391<a class="anchor" name="Ogre_1_1Mathe4" doxytag="Ogre::Math::Abs" ></a><p>
392<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
393  <tr>
394    <td class="mdRow">
395      <table cellpadding="0" cellspacing="0" border="0">
396        <tr>
397          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Abs </td>
398          <td class="md" valign="top">(&nbsp;</td>
399          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
400          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
401          <td class="md" valign="top">&nbsp;)&nbsp;</td>
402          <td class="md" nowrap><code> [static]</code></td>
403        </tr>
404
405      </table>
406    </td>
407  </tr>
408</table>
409<table cellspacing=5 cellpadding=0 border=0>
410  <tr>
411    <td>
412      &nbsp;
413    </td>
414    <td>
415
416<p>
417
418<p>
419Definition at line <a class="el" href="OgreMath_8h-source.html#l00214">214</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
420<p>
421References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
422  </tr>
423</table>
424<a class="anchor" name="Ogre_1_1Mathe7" doxytag="Ogre::Math::ACos" ></a><p>
425<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
426  <tr>
427    <td class="mdRow">
428      <table cellpadding="0" cellspacing="0" border="0">
429        <tr>
430          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> Ogre::Math::ACos </td>
431          <td class="md" valign="top">(&nbsp;</td>
432          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
433          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
434          <td class="md" valign="top">&nbsp;)&nbsp;</td>
435          <td class="md" nowrap><code> [static]</code></td>
436        </tr>
437
438      </table>
439    </td>
440  </tr>
441</table>
442<table cellspacing=5 cellpadding=0 border=0>
443  <tr>
444    <td>
445      &nbsp;
446    </td>
447    <td>
448
449<p>
450    </td>
451  </tr>
452</table>
453<a class="anchor" name="Ogre_1_1Mathe39" doxytag="Ogre::Math::AngleUnitsToDegrees" ></a><p>
454<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
455  <tr>
456    <td class="mdRow">
457      <table cellpadding="0" cellspacing="0" border="0">
458        <tr>
459          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::AngleUnitsToDegrees </td>
460          <td class="md" valign="top">(&nbsp;</td>
461          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
462          <td class="mdname1" valign="top" nowrap> <em>units</em>          </td>
463          <td class="md" valign="top">&nbsp;)&nbsp;</td>
464          <td class="md" nowrap><code> [static]</code></td>
465        </tr>
466
467      </table>
468    </td>
469  </tr>
470</table>
471<table cellspacing=5 cellpadding=0 border=0>
472  <tr>
473    <td>
474      &nbsp;
475    </td>
476    <td>
477
478<p>
479Convert from the current AngleUnit to degrees.
480<p>
481    </td>
482  </tr>
483</table>
484<a class="anchor" name="Ogre_1_1Mathe37" doxytag="Ogre::Math::AngleUnitsToRadians" ></a><p>
485<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
486  <tr>
487    <td class="mdRow">
488      <table cellpadding="0" cellspacing="0" border="0">
489        <tr>
490          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::AngleUnitsToRadians </td>
491          <td class="md" valign="top">(&nbsp;</td>
492          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
493          <td class="mdname1" valign="top" nowrap> <em>units</em>          </td>
494          <td class="md" valign="top">&nbsp;)&nbsp;</td>
495          <td class="md" nowrap><code> [static]</code></td>
496        </tr>
497
498      </table>
499    </td>
500  </tr>
501</table>
502<table cellspacing=5 cellpadding=0 border=0>
503  <tr>
504    <td>
505      &nbsp;
506    </td>
507    <td>
508
509<p>
510Convert from the current AngleUnit to radians.
511<p>
512    </td>
513  </tr>
514</table>
515<a class="anchor" name="Ogre_1_1Mathe8" doxytag="Ogre::Math::ASin" ></a><p>
516<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
517  <tr>
518    <td class="mdRow">
519      <table cellpadding="0" cellspacing="0" border="0">
520        <tr>
521          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> Ogre::Math::ASin </td>
522          <td class="md" valign="top">(&nbsp;</td>
523          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
524          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
525          <td class="md" valign="top">&nbsp;)&nbsp;</td>
526          <td class="md" nowrap><code> [static]</code></td>
527        </tr>
528
529      </table>
530    </td>
531  </tr>
532</table>
533<table cellspacing=5 cellpadding=0 border=0>
534  <tr>
535    <td>
536      &nbsp;
537    </td>
538    <td>
539
540<p>
541    </td>
542  </tr>
543</table>
544<a class="anchor" name="Ogre_1_1Mathe9" doxytag="Ogre::Math::ATan" ></a><p>
545<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
546  <tr>
547    <td class="mdRow">
548      <table cellpadding="0" cellspacing="0" border="0">
549        <tr>
550          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> Ogre::Math::ATan </td>
551          <td class="md" valign="top">(&nbsp;</td>
552          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
553          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
554          <td class="md" valign="top">&nbsp;)&nbsp;</td>
555          <td class="md" nowrap><code> [static]</code></td>
556        </tr>
557
558      </table>
559    </td>
560  </tr>
561</table>
562<table cellspacing=5 cellpadding=0 border=0>
563  <tr>
564    <td>
565      &nbsp;
566    </td>
567    <td>
568
569<p>
570
571<p>
572Definition at line <a class="el" href="OgreMath_8h-source.html#l00219">219</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
573<p>
574References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
575  </tr>
576</table>
577<a class="anchor" name="Ogre_1_1Mathe10" doxytag="Ogre::Math::ATan2" ></a><p>
578<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
579  <tr>
580    <td class="mdRow">
581      <table cellpadding="0" cellspacing="0" border="0">
582        <tr>
583          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> Ogre::Math::ATan2 </td>
584          <td class="md" valign="top">(&nbsp;</td>
585          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
586          <td class="mdname" nowrap> <em>fY</em>, </td>
587        </tr>
588        <tr>
589          <td class="md" nowrap align="right"></td>
590          <td></td>
591          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
592          <td class="mdname" nowrap> <em>fX</em></td>
593        </tr>
594        <tr>
595          <td></td>
596          <td class="md">)&nbsp;</td>
597          <td class="md" colspan="2"><code> [static]</code></td>
598        </tr>
599
600      </table>
601    </td>
602  </tr>
603</table>
604<table cellspacing=5 cellpadding=0 border=0>
605  <tr>
606    <td>
607      &nbsp;
608    </td>
609    <td>
610
611<p>
612
613<p>
614Definition at line <a class="el" href="OgreMath_8h-source.html#l00220">220</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
615<p>
616References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
617  </tr>
618</table>
619<a class="anchor" name="Ogre_1_1Mathe52" doxytag="Ogre::Math::buildReflectionMatrix" ></a><p>
620<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
621  <tr>
622    <td class="mdRow">
623      <table cellpadding="0" cellspacing="0" border="0">
624        <tr>
625          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> Ogre::Math::buildReflectionMatrix </td>
626          <td class="md" valign="top">(&nbsp;</td>
627          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
628          <td class="mdname1" valign="top" nowrap> <em>p</em>          </td>
629          <td class="md" valign="top">&nbsp;)&nbsp;</td>
630          <td class="md" nowrap><code> [static]</code></td>
631        </tr>
632
633      </table>
634    </td>
635  </tr>
636</table>
637<table cellspacing=5 cellpadding=0 border=0>
638  <tr>
639    <td>
640      &nbsp;
641    </td>
642    <td>
643
644<p>
645Build a reflection matrix for the passed in plane.
646<p>
647    </td>
648  </tr>
649</table>
650<a class="anchor" name="Ogre_1_1Mathb0" doxytag="Ogre::Math::buildTrigTables" ></a><p>
651<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
652  <tr>
653    <td class="mdRow">
654      <table cellpadding="0" cellspacing="0" border="0">
655        <tr>
656          <td class="md" nowrap valign="top"> void Ogre::Math::buildTrigTables </td>
657          <td class="md" valign="top">(&nbsp;</td>
658          <td class="mdname1" valign="top" nowrap>          </td>
659          <td class="md" valign="top">&nbsp;)&nbsp;</td>
660          <td class="md" nowrap><code> [protected]</code></td>
661        </tr>
662
663      </table>
664    </td>
665  </tr>
666</table>
667<table cellspacing=5 cellpadding=0 border=0>
668  <tr>
669    <td>
670      &nbsp;
671    </td>
672    <td>
673
674<p>
675Private function to build trig tables.
676<p>
677    </td>
678  </tr>
679</table>
680<a class="anchor" name="Ogre_1_1Mathe54" doxytag="Ogre::Math::calculateBasicFaceNormal" ></a><p>
681<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
682  <tr>
683    <td class="mdRow">
684      <table cellpadding="0" cellspacing="0" border="0">
685        <tr>
686          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Math::calculateBasicFaceNormal </td>
687          <td class="md" valign="top">(&nbsp;</td>
688          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
689          <td class="mdname" nowrap> <em>v1</em>, </td>
690        </tr>
691        <tr>
692          <td class="md" nowrap align="right"></td>
693          <td></td>
694          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
695          <td class="mdname" nowrap> <em>v2</em>, </td>
696        </tr>
697        <tr>
698          <td class="md" nowrap align="right"></td>
699          <td></td>
700          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
701          <td class="mdname" nowrap> <em>v3</em></td>
702        </tr>
703        <tr>
704          <td></td>
705          <td class="md">)&nbsp;</td>
706          <td class="md" colspan="2"><code> [static]</code></td>
707        </tr>
708
709      </table>
710    </td>
711  </tr>
712</table>
713<table cellspacing=5 cellpadding=0 border=0>
714  <tr>
715    <td>
716      &nbsp;
717    </td>
718    <td>
719
720<p>
721Calculate a face normal, no w-information.
722<p>
723    </td>
724  </tr>
725</table>
726<a class="anchor" name="Ogre_1_1Mathe56" doxytag="Ogre::Math::calculateBasicFaceNormalWithoutNormalize" ></a><p>
727<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
728  <tr>
729    <td class="mdRow">
730      <table cellpadding="0" cellspacing="0" border="0">
731        <tr>
732          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Math::calculateBasicFaceNormalWithoutNormalize </td>
733          <td class="md" valign="top">(&nbsp;</td>
734          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
735          <td class="mdname" nowrap> <em>v1</em>, </td>
736        </tr>
737        <tr>
738          <td class="md" nowrap align="right"></td>
739          <td></td>
740          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
741          <td class="mdname" nowrap> <em>v2</em>, </td>
742        </tr>
743        <tr>
744          <td class="md" nowrap align="right"></td>
745          <td></td>
746          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
747          <td class="mdname" nowrap> <em>v3</em></td>
748        </tr>
749        <tr>
750          <td></td>
751          <td class="md">)&nbsp;</td>
752          <td class="md" colspan="2"><code> [static]</code></td>
753        </tr>
754
755      </table>
756    </td>
757  </tr>
758</table>
759<table cellspacing=5 cellpadding=0 border=0>
760  <tr>
761    <td>
762      &nbsp;
763    </td>
764    <td>
765
766<p>
767Calculate a face normal without normalize, no w-information.
768<p>
769    </td>
770  </tr>
771</table>
772<a class="anchor" name="Ogre_1_1Mathe53" doxytag="Ogre::Math::calculateFaceNormal" ></a><p>
773<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
774  <tr>
775    <td class="mdRow">
776      <table cellpadding="0" cellspacing="0" border="0">
777        <tr>
778          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector4.html">Vector4</a> Ogre::Math::calculateFaceNormal </td>
779          <td class="md" valign="top">(&nbsp;</td>
780          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
781          <td class="mdname" nowrap> <em>v1</em>, </td>
782        </tr>
783        <tr>
784          <td class="md" nowrap align="right"></td>
785          <td></td>
786          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
787          <td class="mdname" nowrap> <em>v2</em>, </td>
788        </tr>
789        <tr>
790          <td class="md" nowrap align="right"></td>
791          <td></td>
792          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
793          <td class="mdname" nowrap> <em>v3</em></td>
794        </tr>
795        <tr>
796          <td></td>
797          <td class="md">)&nbsp;</td>
798          <td class="md" colspan="2"><code> [static]</code></td>
799        </tr>
800
801      </table>
802    </td>
803  </tr>
804</table>
805<table cellspacing=5 cellpadding=0 border=0>
806  <tr>
807    <td>
808      &nbsp;
809    </td>
810    <td>
811
812<p>
813Calculate a face normal, including the w component which is the offset from the origin.
814<p>
815    </td>
816  </tr>
817</table>
818<a class="anchor" name="Ogre_1_1Mathe55" doxytag="Ogre::Math::calculateFaceNormalWithoutNormalize" ></a><p>
819<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
820  <tr>
821    <td class="mdRow">
822      <table cellpadding="0" cellspacing="0" border="0">
823        <tr>
824          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector4.html">Vector4</a> Ogre::Math::calculateFaceNormalWithoutNormalize </td>
825          <td class="md" valign="top">(&nbsp;</td>
826          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
827          <td class="mdname" nowrap> <em>v1</em>, </td>
828        </tr>
829        <tr>
830          <td class="md" nowrap align="right"></td>
831          <td></td>
832          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
833          <td class="mdname" nowrap> <em>v2</em>, </td>
834        </tr>
835        <tr>
836          <td class="md" nowrap align="right"></td>
837          <td></td>
838          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
839          <td class="mdname" nowrap> <em>v3</em></td>
840        </tr>
841        <tr>
842          <td></td>
843          <td class="md">)&nbsp;</td>
844          <td class="md" colspan="2"><code> [static]</code></td>
845        </tr>
846
847      </table>
848    </td>
849  </tr>
850</table>
851<table cellspacing=5 cellpadding=0 border=0>
852  <tr>
853    <td>
854      &nbsp;
855    </td>
856    <td>
857
858<p>
859Calculate a face normal without normalize, including the w component which is the offset from the origin.
860<p>
861    </td>
862  </tr>
863</table>
864<a class="anchor" name="Ogre_1_1Mathe51" doxytag="Ogre::Math::calculateTangentSpaceVector" ></a><p>
865<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
866  <tr>
867    <td class="mdRow">
868      <table cellpadding="0" cellspacing="0" border="0">
869        <tr>
870          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Math::calculateTangentSpaceVector </td>
871          <td class="md" valign="top">(&nbsp;</td>
872          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
873          <td class="mdname" nowrap> <em>position1</em>, </td>
874        </tr>
875        <tr>
876          <td class="md" nowrap align="right"></td>
877          <td></td>
878          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
879          <td class="mdname" nowrap> <em>position2</em>, </td>
880        </tr>
881        <tr>
882          <td class="md" nowrap align="right"></td>
883          <td></td>
884          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
885          <td class="mdname" nowrap> <em>position3</em>, </td>
886        </tr>
887        <tr>
888          <td class="md" nowrap align="right"></td>
889          <td></td>
890          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
891          <td class="mdname" nowrap> <em>u1</em>, </td>
892        </tr>
893        <tr>
894          <td class="md" nowrap align="right"></td>
895          <td></td>
896          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
897          <td class="mdname" nowrap> <em>v1</em>, </td>
898        </tr>
899        <tr>
900          <td class="md" nowrap align="right"></td>
901          <td></td>
902          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
903          <td class="mdname" nowrap> <em>u2</em>, </td>
904        </tr>
905        <tr>
906          <td class="md" nowrap align="right"></td>
907          <td></td>
908          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
909          <td class="mdname" nowrap> <em>v2</em>, </td>
910        </tr>
911        <tr>
912          <td class="md" nowrap align="right"></td>
913          <td></td>
914          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
915          <td class="mdname" nowrap> <em>u3</em>, </td>
916        </tr>
917        <tr>
918          <td class="md" nowrap align="right"></td>
919          <td></td>
920          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
921          <td class="mdname" nowrap> <em>v3</em></td>
922        </tr>
923        <tr>
924          <td></td>
925          <td class="md">)&nbsp;</td>
926          <td class="md" colspan="2"><code> [static]</code></td>
927        </tr>
928
929      </table>
930    </td>
931  </tr>
932</table>
933<table cellspacing=5 cellpadding=0 border=0>
934  <tr>
935    <td>
936      &nbsp;
937    </td>
938    <td>
939
940<p>
941Calculates the tangent space vector for a given set of positions / texture coords.
942<p>
943    </td>
944  </tr>
945</table>
946<a class="anchor" name="Ogre_1_1Mathe11" doxytag="Ogre::Math::Ceil" ></a><p>
947<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
948  <tr>
949    <td class="mdRow">
950      <table cellpadding="0" cellspacing="0" border="0">
951        <tr>
952          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Ceil </td>
953          <td class="md" valign="top">(&nbsp;</td>
954          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
955          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
956          <td class="md" valign="top">&nbsp;)&nbsp;</td>
957          <td class="md" nowrap><code> [static]</code></td>
958        </tr>
959
960      </table>
961    </td>
962  </tr>
963</table>
964<table cellspacing=5 cellpadding=0 border=0>
965  <tr>
966    <td>
967      &nbsp;
968    </td>
969    <td>
970
971<p>
972
973<p>
974Definition at line <a class="el" href="OgreMath_8h-source.html#l00221">221</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
975<p>
976References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
977  </tr>
978</table>
979<a class="anchor" name="Ogre_1_1Mathe13" doxytag="Ogre::Math::Cos" ></a><p>
980<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
981  <tr>
982    <td class="mdRow">
983      <table cellpadding="0" cellspacing="0" border="0">
984        <tr>
985          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Cos </td>
986          <td class="md" valign="top">(&nbsp;</td>
987          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
988          <td class="mdname" nowrap> <em>fValue</em>, </td>
989        </tr>
990        <tr>
991          <td class="md" nowrap align="right"></td>
992          <td></td>
993          <td class="md" nowrap>bool&nbsp;</td>
994          <td class="mdname" nowrap> <em>useTables</em> = false</td>
995        </tr>
996        <tr>
997          <td></td>
998          <td class="md">)&nbsp;</td>
999          <td class="md" colspan="2"><code> [static]</code></td>
1000        </tr>
1001
1002      </table>
1003    </td>
1004  </tr>
1005</table>
1006<table cellspacing=5 cellpadding=0 border=0>
1007  <tr>
1008    <td>
1009      &nbsp;
1010    </td>
1011    <td>
1012
1013<p>
1014Cosine function.
1015<p>
1016<dl compact><dt><b>Parameters:</b></dt><dd>
1017  <table border="0" cellspacing="2" cellpadding="0">
1018    <tr><td valign=top><em>fValue</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Angle.html">Angle</a> in radians </td></tr>
1019    <tr><td valign=top><em>useTables</em>&nbsp;</td><td>If true, uses lookup tables rather than calculation - faster but less accurate. </td></tr>
1020  </table>
1021</dl>
1022
1023<p>
1024Definition at line <a class="el" href="OgreMath_8h-source.html#l00240">240</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1025<p>
1026References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1027  </tr>
1028</table>
1029<a class="anchor" name="Ogre_1_1Mathe12" doxytag="Ogre::Math::Cos" ></a><p>
1030<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1031  <tr>
1032    <td class="mdRow">
1033      <table cellpadding="0" cellspacing="0" border="0">
1034        <tr>
1035          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Cos </td>
1036          <td class="md" valign="top">(&nbsp;</td>
1037          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
1038          <td class="mdname" nowrap> <em>fValue</em>, </td>
1039        </tr>
1040        <tr>
1041          <td class="md" nowrap align="right"></td>
1042          <td></td>
1043          <td class="md" nowrap>bool&nbsp;</td>
1044          <td class="mdname" nowrap> <em>useTables</em> = false</td>
1045        </tr>
1046        <tr>
1047          <td></td>
1048          <td class="md">)&nbsp;</td>
1049          <td class="md" colspan="2"><code> [static]</code></td>
1050        </tr>
1051
1052      </table>
1053    </td>
1054  </tr>
1055</table>
1056<table cellspacing=5 cellpadding=0 border=0>
1057  <tr>
1058    <td>
1059      &nbsp;
1060    </td>
1061    <td>
1062
1063<p>
1064Cosine function.
1065<p>
1066<dl compact><dt><b>Parameters:</b></dt><dd>
1067  <table border="0" cellspacing="2" cellpadding="0">
1068    <tr><td valign=top><em>fValue</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Angle.html">Angle</a> in radians </td></tr>
1069    <tr><td valign=top><em>useTables</em>&nbsp;</td><td>If true, uses lookup tables rather than calculation - faster but less accurate. </td></tr>
1070  </table>
1071</dl>
1072
1073<p>
1074Definition at line <a class="el" href="OgreMath_8h-source.html#l00230">230</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1075<p>
1076References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, and <a class="el" href="OgreMath_8h-source.html#l00049">Ogre::Radian::valueRadians()</a>.    </td>
1077  </tr>
1078</table>
1079<a class="anchor" name="Ogre_1_1Mathe40" doxytag="Ogre::Math::DegreesToAngleUnits" ></a><p>
1080<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1081  <tr>
1082    <td class="mdRow">
1083      <table cellpadding="0" cellspacing="0" border="0">
1084        <tr>
1085          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::DegreesToAngleUnits </td>
1086          <td class="md" valign="top">(&nbsp;</td>
1087          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1088          <td class="mdname1" valign="top" nowrap> <em>degrees</em>          </td>
1089          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1090          <td class="md" nowrap><code> [static]</code></td>
1091        </tr>
1092
1093      </table>
1094    </td>
1095  </tr>
1096</table>
1097<table cellspacing=5 cellpadding=0 border=0>
1098  <tr>
1099    <td>
1100      &nbsp;
1101    </td>
1102    <td>
1103
1104<p>
1105Convert from degrees to the current AngleUnit.
1106<p>
1107    </td>
1108  </tr>
1109</table>
1110<a class="anchor" name="Ogre_1_1Mathe33" doxytag="Ogre::Math::DegreesToRadians" ></a><p>
1111<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1112  <tr>
1113    <td class="mdRow">
1114      <table cellpadding="0" cellspacing="0" border="0">
1115        <tr>
1116          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::DegreesToRadians </td>
1117          <td class="md" valign="top">(&nbsp;</td>
1118          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1119          <td class="mdname1" valign="top" nowrap> <em>degrees</em>          </td>
1120          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1121          <td class="md" nowrap><code> [static]</code></td>
1122        </tr>
1123
1124      </table>
1125    </td>
1126  </tr>
1127</table>
1128<table cellspacing=5 cellpadding=0 border=0>
1129  <tr>
1130    <td>
1131      &nbsp;
1132    </td>
1133    <td>
1134
1135<p>
1136
1137<p>
1138Definition at line <a class="el" href="OgreMath_8h-source.html#l00323">323</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1139<p>
1140References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1141  </tr>
1142</table>
1143<a class="anchor" name="Ogre_1_1Mathe14" doxytag="Ogre::Math::Exp" ></a><p>
1144<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1145  <tr>
1146    <td class="mdRow">
1147      <table cellpadding="0" cellspacing="0" border="0">
1148        <tr>
1149          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Exp </td>
1150          <td class="md" valign="top">(&nbsp;</td>
1151          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1152          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
1153          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1154          <td class="md" nowrap><code> [static]</code></td>
1155        </tr>
1156
1157      </table>
1158    </td>
1159  </tr>
1160</table>
1161<table cellspacing=5 cellpadding=0 border=0>
1162  <tr>
1163    <td>
1164      &nbsp;
1165    </td>
1166    <td>
1167
1168<p>
1169
1170<p>
1171Definition at line <a class="el" href="OgreMath_8h-source.html#l00244">244</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1172<p>
1173References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1174  </tr>
1175</table>
1176<a class="anchor" name="Ogre_1_1Mathe15" doxytag="Ogre::Math::Floor" ></a><p>
1177<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1178  <tr>
1179    <td class="mdRow">
1180      <table cellpadding="0" cellspacing="0" border="0">
1181        <tr>
1182          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Floor </td>
1183          <td class="md" valign="top">(&nbsp;</td>
1184          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1185          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
1186          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1187          <td class="md" nowrap><code> [static]</code></td>
1188        </tr>
1189
1190      </table>
1191    </td>
1192  </tr>
1193</table>
1194<table cellspacing=5 cellpadding=0 border=0>
1195  <tr>
1196    <td>
1197      &nbsp;
1198    </td>
1199    <td>
1200
1201<p>
1202
1203<p>
1204Definition at line <a class="el" href="OgreMath_8h-source.html#l00246">246</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1205<p>
1206References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1207  </tr>
1208</table>
1209<a class="anchor" name="Ogre_1_1Mathe36" doxytag="Ogre::Math::getAngleUnit" ></a><p>
1210<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1211  <tr>
1212    <td class="mdRow">
1213      <table cellpadding="0" cellspacing="0" border="0">
1214        <tr>
1215          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">AngleUnit</a> Ogre::Math::getAngleUnit </td>
1216          <td class="md" valign="top">(&nbsp;</td>
1217          <td class="md" nowrap valign="top">void&nbsp;</td>
1218          <td class="mdname1" valign="top" nowrap>          </td>
1219          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1220          <td class="md" nowrap><code> [static]</code></td>
1221        </tr>
1222
1223      </table>
1224    </td>
1225  </tr>
1226</table>
1227<table cellspacing=5 cellpadding=0 border=0>
1228  <tr>
1229    <td>
1230      &nbsp;
1231    </td>
1232    <td>
1233
1234<p>
1235Get the unit being used for angles.
1236<p>
1237    </td>
1238  </tr>
1239</table>
1240<a class="anchor" name="Ogre_1_1Mathe0" doxytag="Ogre::Math::IAbs" ></a><p>
1241<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1242  <tr>
1243    <td class="mdRow">
1244      <table cellpadding="0" cellspacing="0" border="0">
1245        <tr>
1246          <td class="md" nowrap valign="top"> int Ogre::Math::IAbs </td>
1247          <td class="md" valign="top">(&nbsp;</td>
1248          <td class="md" nowrap valign="top">int&nbsp;</td>
1249          <td class="mdname1" valign="top" nowrap> <em>iValue</em>          </td>
1250          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1251          <td class="md" nowrap><code> [static]</code></td>
1252        </tr>
1253
1254      </table>
1255    </td>
1256  </tr>
1257</table>
1258<table cellspacing=5 cellpadding=0 border=0>
1259  <tr>
1260    <td>
1261      &nbsp;
1262    </td>
1263    <td>
1264
1265<p>
1266
1267<p>
1268Definition at line <a class="el" href="OgreMath_8h-source.html#l00209">209</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
1269  </tr>
1270</table>
1271<a class="anchor" name="Ogre_1_1Mathe1" doxytag="Ogre::Math::ICeil" ></a><p>
1272<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1273  <tr>
1274    <td class="mdRow">
1275      <table cellpadding="0" cellspacing="0" border="0">
1276        <tr>
1277          <td class="md" nowrap valign="top"> int Ogre::Math::ICeil </td>
1278          <td class="md" valign="top">(&nbsp;</td>
1279          <td class="md" nowrap valign="top">float&nbsp;</td>
1280          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
1281          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1282          <td class="md" nowrap><code> [static]</code></td>
1283        </tr>
1284
1285      </table>
1286    </td>
1287  </tr>
1288</table>
1289<table cellspacing=5 cellpadding=0 border=0>
1290  <tr>
1291    <td>
1292      &nbsp;
1293    </td>
1294    <td>
1295
1296<p>
1297
1298<p>
1299Definition at line <a class="el" href="OgreMath_8h-source.html#l00210">210</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
1300  </tr>
1301</table>
1302<a class="anchor" name="Ogre_1_1Mathe2" doxytag="Ogre::Math::IFloor" ></a><p>
1303<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1304  <tr>
1305    <td class="mdRow">
1306      <table cellpadding="0" cellspacing="0" border="0">
1307        <tr>
1308          <td class="md" nowrap valign="top"> int Ogre::Math::IFloor </td>
1309          <td class="md" valign="top">(&nbsp;</td>
1310          <td class="md" nowrap valign="top">float&nbsp;</td>
1311          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
1312          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1313          <td class="md" nowrap><code> [static]</code></td>
1314        </tr>
1315
1316      </table>
1317    </td>
1318  </tr>
1319</table>
1320<table cellspacing=5 cellpadding=0 border=0>
1321  <tr>
1322    <td>
1323      &nbsp;
1324    </td>
1325    <td>
1326
1327<p>
1328
1329<p>
1330Definition at line <a class="el" href="OgreMath_8h-source.html#l00211">211</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
1331  </tr>
1332</table>
1333<a class="anchor" name="Ogre_1_1Mathe49" doxytag="Ogre::Math::intersects" ></a><p>
1334<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1335  <tr>
1336    <td class="mdRow">
1337      <table cellpadding="0" cellspacing="0" border="0">
1338        <tr>
1339          <td class="md" nowrap valign="top"> bool Ogre::Math::intersects </td>
1340          <td class="md" valign="top">(&nbsp;</td>
1341          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;&nbsp;</td>
1342          <td class="mdname" nowrap> <em>sphere</em>, </td>
1343        </tr>
1344        <tr>
1345          <td class="md" nowrap align="right"></td>
1346          <td></td>
1347          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
1348          <td class="mdname" nowrap> <em>plane</em></td>
1349        </tr>
1350        <tr>
1351          <td></td>
1352          <td class="md">)&nbsp;</td>
1353          <td class="md" colspan="2"><code> [static]</code></td>
1354        </tr>
1355
1356      </table>
1357    </td>
1358  </tr>
1359</table>
1360<table cellspacing=5 cellpadding=0 border=0>
1361  <tr>
1362    <td>
1363      &nbsp;
1364    </td>
1365    <td>
1366
1367<p>
1368<a class="el" href="classOgre_1_1Sphere.html">Sphere</a> / plane intersection test.
1369<p>
1370<dl compact><dt><b>Remarks:</b></dt><dd>NB just do a plane.getDistance(sphere.getCenter()) for more detail! </dd></dl>
1371    </td>
1372  </tr>
1373</table>
1374<a class="anchor" name="Ogre_1_1Mathe48" doxytag="Ogre::Math::intersects" ></a><p>
1375<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1376  <tr>
1377    <td class="mdRow">
1378      <table cellpadding="0" cellspacing="0" border="0">
1379        <tr>
1380          <td class="md" nowrap valign="top"> std::pair&lt;bool, <a class="el" href="namespaceOgre.html#a420">Real</a>&gt; Ogre::Math::intersects </td>
1381          <td class="md" valign="top">(&nbsp;</td>
1382          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;&nbsp;</td>
1383          <td class="mdname" nowrap> <em>ray</em>, </td>
1384        </tr>
1385        <tr>
1386          <td class="md" nowrap align="right"></td>
1387          <td></td>
1388          <td class="md" nowrap>const std::list&lt; <a class="el" href="classOgre_1_1Plane.html">Plane</a> &gt; &amp;&nbsp;</td>
1389          <td class="mdname" nowrap> <em>planeList</em>, </td>
1390        </tr>
1391        <tr>
1392          <td class="md" nowrap align="right"></td>
1393          <td></td>
1394          <td class="md" nowrap>bool&nbsp;</td>
1395          <td class="mdname" nowrap> <em>normalIsOutside</em></td>
1396        </tr>
1397        <tr>
1398          <td></td>
1399          <td class="md">)&nbsp;</td>
1400          <td class="md" colspan="2"><code> [static]</code></td>
1401        </tr>
1402
1403      </table>
1404    </td>
1405  </tr>
1406</table>
1407<table cellspacing=5 cellpadding=0 border=0>
1408  <tr>
1409    <td>
1410      &nbsp;
1411    </td>
1412    <td>
1413
1414<p>
1415<a class="el" href="classOgre_1_1Ray.html">Ray</a> / convex plane list intersection test.
1416<p>
1417<dl compact><dt><b>Parameters:</b></dt><dd>
1418  <table border="0" cellspacing="2" cellpadding="0">
1419    <tr><td valign=top><em>ray</em>&nbsp;</td><td>The ray to test with </td></tr>
1420    <tr><td valign=top><em>plaeList</em>&nbsp;</td><td>List of planes which form a convex volume </td></tr>
1421    <tr><td valign=top><em>normalIsOutside</em>&nbsp;</td><td>Does the normal point outside the volume </td></tr>
1422  </table>
1423</dl>
1424    </td>
1425  </tr>
1426</table>
1427<a class="anchor" name="Ogre_1_1Mathe47" doxytag="Ogre::Math::intersects" ></a><p>
1428<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1429  <tr>
1430    <td class="mdRow">
1431      <table cellpadding="0" cellspacing="0" border="0">
1432        <tr>
1433          <td class="md" nowrap valign="top"> std::pair&lt;bool, <a class="el" href="namespaceOgre.html#a420">Real</a>&gt; Ogre::Math::intersects </td>
1434          <td class="md" valign="top">(&nbsp;</td>
1435          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;&nbsp;</td>
1436          <td class="mdname" nowrap> <em>ray</em>, </td>
1437        </tr>
1438        <tr>
1439          <td class="md" nowrap align="right"></td>
1440          <td></td>
1441          <td class="md" nowrap>const std::vector&lt; <a class="el" href="classOgre_1_1Plane.html">Plane</a> &gt; &amp;&nbsp;</td>
1442          <td class="mdname" nowrap> <em>planeList</em>, </td>
1443        </tr>
1444        <tr>
1445          <td class="md" nowrap align="right"></td>
1446          <td></td>
1447          <td class="md" nowrap>bool&nbsp;</td>
1448          <td class="mdname" nowrap> <em>normalIsOutside</em></td>
1449        </tr>
1450        <tr>
1451          <td></td>
1452          <td class="md">)&nbsp;</td>
1453          <td class="md" colspan="2"><code> [static]</code></td>
1454        </tr>
1455
1456      </table>
1457    </td>
1458  </tr>
1459</table>
1460<table cellspacing=5 cellpadding=0 border=0>
1461  <tr>
1462    <td>
1463      &nbsp;
1464    </td>
1465    <td>
1466
1467<p>
1468<a class="el" href="classOgre_1_1Ray.html">Ray</a> / convex plane list intersection test.
1469<p>
1470<dl compact><dt><b>Parameters:</b></dt><dd>
1471  <table border="0" cellspacing="2" cellpadding="0">
1472    <tr><td valign=top><em>ray</em>&nbsp;</td><td>The ray to test with </td></tr>
1473    <tr><td valign=top><em>plaeList</em>&nbsp;</td><td>List of planes which form a convex volume </td></tr>
1474    <tr><td valign=top><em>normalIsOutside</em>&nbsp;</td><td>Does the normal point outside the volume </td></tr>
1475  </table>
1476</dl>
1477    </td>
1478  </tr>
1479</table>
1480<a class="anchor" name="Ogre_1_1Mathe46" doxytag="Ogre::Math::intersects" ></a><p>
1481<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1482  <tr>
1483    <td class="mdRow">
1484      <table cellpadding="0" cellspacing="0" border="0">
1485        <tr>
1486          <td class="md" nowrap valign="top"> bool Ogre::Math::intersects </td>
1487          <td class="md" valign="top">(&nbsp;</td>
1488          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
1489          <td class="mdname" nowrap> <em>plane</em>, </td>
1490        </tr>
1491        <tr>
1492          <td class="md" nowrap align="right"></td>
1493          <td></td>
1494          <td class="md" nowrap>const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;&nbsp;</td>
1495          <td class="mdname" nowrap> <em>box</em></td>
1496        </tr>
1497        <tr>
1498          <td></td>
1499          <td class="md">)&nbsp;</td>
1500          <td class="md" colspan="2"><code> [static]</code></td>
1501        </tr>
1502
1503      </table>
1504    </td>
1505  </tr>
1506</table>
1507<table cellspacing=5 cellpadding=0 border=0>
1508  <tr>
1509    <td>
1510      &nbsp;
1511    </td>
1512    <td>
1513
1514<p>
1515<a class="el" href="classOgre_1_1Plane.html">Plane</a> / box intersection test.
1516<p>
1517    </td>
1518  </tr>
1519</table>
1520<a class="anchor" name="Ogre_1_1Mathe45" doxytag="Ogre::Math::intersects" ></a><p>
1521<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1522  <tr>
1523    <td class="mdRow">
1524      <table cellpadding="0" cellspacing="0" border="0">
1525        <tr>
1526          <td class="md" nowrap valign="top"> bool Ogre::Math::intersects </td>
1527          <td class="md" valign="top">(&nbsp;</td>
1528          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;&nbsp;</td>
1529          <td class="mdname" nowrap> <em>sphere</em>, </td>
1530        </tr>
1531        <tr>
1532          <td class="md" nowrap align="right"></td>
1533          <td></td>
1534          <td class="md" nowrap>const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;&nbsp;</td>
1535          <td class="mdname" nowrap> <em>box</em></td>
1536        </tr>
1537        <tr>
1538          <td></td>
1539          <td class="md">)&nbsp;</td>
1540          <td class="md" colspan="2"><code> [static]</code></td>
1541        </tr>
1542
1543      </table>
1544    </td>
1545  </tr>
1546</table>
1547<table cellspacing=5 cellpadding=0 border=0>
1548  <tr>
1549    <td>
1550      &nbsp;
1551    </td>
1552    <td>
1553
1554<p>
1555<a class="el" href="classOgre_1_1Sphere.html">Sphere</a> / box intersection test.
1556<p>
1557    </td>
1558  </tr>
1559</table>
1560<a class="anchor" name="Ogre_1_1Mathe44" doxytag="Ogre::Math::intersects" ></a><p>
1561<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1562  <tr>
1563    <td class="mdRow">
1564      <table cellpadding="0" cellspacing="0" border="0">
1565        <tr>
1566          <td class="md" nowrap valign="top"> std::pair&lt;bool, <a class="el" href="namespaceOgre.html#a420">Real</a>&gt; Ogre::Math::intersects </td>
1567          <td class="md" valign="top">(&nbsp;</td>
1568          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;&nbsp;</td>
1569          <td class="mdname" nowrap> <em>ray</em>, </td>
1570        </tr>
1571        <tr>
1572          <td class="md" nowrap align="right"></td>
1573          <td></td>
1574          <td class="md" nowrap>const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;&nbsp;</td>
1575          <td class="mdname" nowrap> <em>sphere</em></td>
1576        </tr>
1577        <tr>
1578          <td></td>
1579          <td class="md">)&nbsp;</td>
1580          <td class="md" colspan="2"><code> [static]</code></td>
1581        </tr>
1582
1583      </table>
1584    </td>
1585  </tr>
1586</table>
1587<table cellspacing=5 cellpadding=0 border=0>
1588  <tr>
1589    <td>
1590      &nbsp;
1591    </td>
1592    <td>
1593
1594<p>
1595<a class="el" href="classOgre_1_1Ray.html">Ray</a> / box intersection, returns boolean result and distance.
1596<p>
1597    </td>
1598  </tr>
1599</table>
1600<a class="anchor" name="Ogre_1_1Mathe43" doxytag="Ogre::Math::intersects" ></a><p>
1601<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1602  <tr>
1603    <td class="mdRow">
1604      <table cellpadding="0" cellspacing="0" border="0">
1605        <tr>
1606          <td class="md" nowrap valign="top"> std::pair&lt;bool, <a class="el" href="namespaceOgre.html#a420">Real</a>&gt; Ogre::Math::intersects </td>
1607          <td class="md" valign="top">(&nbsp;</td>
1608          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;&nbsp;</td>
1609          <td class="mdname" nowrap> <em>ray</em>, </td>
1610        </tr>
1611        <tr>
1612          <td class="md" nowrap align="right"></td>
1613          <td></td>
1614          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;&nbsp;</td>
1615          <td class="mdname" nowrap> <em>sphere</em>, </td>
1616        </tr>
1617        <tr>
1618          <td class="md" nowrap align="right"></td>
1619          <td></td>
1620          <td class="md" nowrap>bool&nbsp;</td>
1621          <td class="mdname" nowrap> <em>discardInside</em> = true</td>
1622        </tr>
1623        <tr>
1624          <td></td>
1625          <td class="md">)&nbsp;</td>
1626          <td class="md" colspan="2"><code> [static]</code></td>
1627        </tr>
1628
1629      </table>
1630    </td>
1631  </tr>
1632</table>
1633<table cellspacing=5 cellpadding=0 border=0>
1634  <tr>
1635    <td>
1636      &nbsp;
1637    </td>
1638    <td>
1639
1640<p>
1641<a class="el" href="classOgre_1_1Ray.html">Ray</a> / sphere intersection, returns boolean result and distance.
1642<p>
1643    </td>
1644  </tr>
1645</table>
1646<a class="anchor" name="Ogre_1_1Mathe42" doxytag="Ogre::Math::intersects" ></a><p>
1647<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1648  <tr>
1649    <td class="mdRow">
1650      <table cellpadding="0" cellspacing="0" border="0">
1651        <tr>
1652          <td class="md" nowrap valign="top"> std::pair&lt;bool, <a class="el" href="namespaceOgre.html#a420">Real</a>&gt; Ogre::Math::intersects </td>
1653          <td class="md" valign="top">(&nbsp;</td>
1654          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Ray.html">Ray</a> &amp;&nbsp;</td>
1655          <td class="mdname" nowrap> <em>ray</em>, </td>
1656        </tr>
1657        <tr>
1658          <td class="md" nowrap align="right"></td>
1659          <td></td>
1660          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
1661          <td class="mdname" nowrap> <em>plane</em></td>
1662        </tr>
1663        <tr>
1664          <td></td>
1665          <td class="md">)&nbsp;</td>
1666          <td class="md" colspan="2"><code> [static]</code></td>
1667        </tr>
1668
1669      </table>
1670    </td>
1671  </tr>
1672</table>
1673<table cellspacing=5 cellpadding=0 border=0>
1674  <tr>
1675    <td>
1676      &nbsp;
1677    </td>
1678    <td>
1679
1680<p>
1681<a class="el" href="classOgre_1_1Ray.html">Ray</a> / plane intersection, returns boolean result and distance.
1682<p>
1683    </td>
1684  </tr>
1685</table>
1686<a class="anchor" name="Ogre_1_1Mathe27" doxytag="Ogre::Math::InvSqrt" ></a><p>
1687<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1688  <tr>
1689    <td class="mdRow">
1690      <table cellpadding="0" cellspacing="0" border="0">
1691        <tr>
1692          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::InvSqrt </td>
1693          <td class="md" valign="top">(&nbsp;</td>
1694          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1695          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
1696          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1697          <td class="md" nowrap><code> [static]</code></td>
1698        </tr>
1699
1700      </table>
1701    </td>
1702  </tr>
1703</table>
1704<table cellspacing=5 cellpadding=0 border=0>
1705  <tr>
1706    <td>
1707      &nbsp;
1708    </td>
1709    <td>
1710
1711<p>
1712Inverse square root i.e.
1713<p>
17141 / Sqrt(x), good for vector normalisation.     </td>
1715  </tr>
1716</table>
1717<a class="anchor" name="Ogre_1_1Mathe3" doxytag="Ogre::Math::ISign" ></a><p>
1718<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1719  <tr>
1720    <td class="mdRow">
1721      <table cellpadding="0" cellspacing="0" border="0">
1722        <tr>
1723          <td class="md" nowrap valign="top"> int Ogre::Math::ISign </td>
1724          <td class="md" valign="top">(&nbsp;</td>
1725          <td class="md" nowrap valign="top">int&nbsp;</td>
1726          <td class="mdname1" valign="top" nowrap> <em>iValue</em>          </td>
1727          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1728          <td class="md" nowrap><code> [static]</code></td>
1729        </tr>
1730
1731      </table>
1732    </td>
1733  </tr>
1734</table>
1735<table cellspacing=5 cellpadding=0 border=0>
1736  <tr>
1737    <td>
1738      &nbsp;
1739    </td>
1740    <td>
1741
1742<p>
1743    </td>
1744  </tr>
1745</table>
1746<a class="anchor" name="Ogre_1_1Mathe16" doxytag="Ogre::Math::Log" ></a><p>
1747<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1748  <tr>
1749    <td class="mdRow">
1750      <table cellpadding="0" cellspacing="0" border="0">
1751        <tr>
1752          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Log </td>
1753          <td class="md" valign="top">(&nbsp;</td>
1754          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1755          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
1756          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1757          <td class="md" nowrap><code> [static]</code></td>
1758        </tr>
1759
1760      </table>
1761    </td>
1762  </tr>
1763</table>
1764<table cellspacing=5 cellpadding=0 border=0>
1765  <tr>
1766    <td>
1767      &nbsp;
1768    </td>
1769    <td>
1770
1771<p>
1772
1773<p>
1774Definition at line <a class="el" href="OgreMath_8h-source.html#l00248">248</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1775<p>
1776References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1777  </tr>
1778</table>
1779<a class="anchor" name="Ogre_1_1Mathe41" doxytag="Ogre::Math::pointInTri2D" ></a><p>
1780<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1781  <tr>
1782    <td class="mdRow">
1783      <table cellpadding="0" cellspacing="0" border="0">
1784        <tr>
1785          <td class="md" nowrap valign="top"> bool Ogre::Math::pointInTri2D </td>
1786          <td class="md" valign="top">(&nbsp;</td>
1787          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1788          <td class="mdname" nowrap> <em>px</em>, </td>
1789        </tr>
1790        <tr>
1791          <td class="md" nowrap align="right"></td>
1792          <td></td>
1793          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1794          <td class="mdname" nowrap> <em>pz</em>, </td>
1795        </tr>
1796        <tr>
1797          <td class="md" nowrap align="right"></td>
1798          <td></td>
1799          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1800          <td class="mdname" nowrap> <em>ax</em>, </td>
1801        </tr>
1802        <tr>
1803          <td class="md" nowrap align="right"></td>
1804          <td></td>
1805          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1806          <td class="mdname" nowrap> <em>az</em>, </td>
1807        </tr>
1808        <tr>
1809          <td class="md" nowrap align="right"></td>
1810          <td></td>
1811          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1812          <td class="mdname" nowrap> <em>bx</em>, </td>
1813        </tr>
1814        <tr>
1815          <td class="md" nowrap align="right"></td>
1816          <td></td>
1817          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1818          <td class="mdname" nowrap> <em>bz</em>, </td>
1819        </tr>
1820        <tr>
1821          <td class="md" nowrap align="right"></td>
1822          <td></td>
1823          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1824          <td class="mdname" nowrap> <em>cx</em>, </td>
1825        </tr>
1826        <tr>
1827          <td class="md" nowrap align="right"></td>
1828          <td></td>
1829          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1830          <td class="mdname" nowrap> <em>cz</em></td>
1831        </tr>
1832        <tr>
1833          <td></td>
1834          <td class="md">)&nbsp;</td>
1835          <td class="md" colspan="2"><code> [static]</code></td>
1836        </tr>
1837
1838      </table>
1839    </td>
1840  </tr>
1841</table>
1842<table cellspacing=5 cellpadding=0 border=0>
1843  <tr>
1844    <td>
1845      &nbsp;
1846    </td>
1847    <td>
1848
1849<p>
1850Checks wether a given point is inside a triangle, in a 2-dimensional (Cartesian) space.
1851<p>
1852<dl compact><dt><b>Remarks:</b></dt><dd>The vertices of the triangle must be given in either trigonometrical (anticlockwise) or inverse trigonometrical (clockwise) order. </dd></dl>
1853<dl compact><dt><b>Parameters:</b></dt><dd>
1854  <table border="0" cellspacing="2" cellpadding="0">
1855    <tr><td valign=top><em>px</em>&nbsp;</td><td>The X-coordinate of the point. </td></tr>
1856    <tr><td valign=top><em>py</em>&nbsp;</td><td>The Y-coordinate of the point. </td></tr>
1857    <tr><td valign=top><em>ax</em>&nbsp;</td><td>The X-coordinate of the triangle's first vertex. </td></tr>
1858    <tr><td valign=top><em>ay</em>&nbsp;</td><td>The Y-coordinate of the triangle's first vertex. </td></tr>
1859    <tr><td valign=top><em>bx</em>&nbsp;</td><td>The X-coordinate of the triangle's second vertex. </td></tr>
1860    <tr><td valign=top><em>by</em>&nbsp;</td><td>The Y-coordinate of the triangle's second vertex. </td></tr>
1861    <tr><td valign=top><em>cx</em>&nbsp;</td><td>The X-coordinate of the triangle's third vertex. </td></tr>
1862    <tr><td valign=top><em>cy</em>&nbsp;</td><td>The Y-coordinate of the triangle's third vertex. </td></tr>
1863  </table>
1864</dl>
1865<dl compact><dt><b>Returns:</b></dt><dd>If the point resides in the triangle, <b>true</b> is returned. </dd></dl>
1866<dl compact><dt><b></b></dt><dd>If the point is outside the triangle, <b>false</b> is returned. </dd></dl>
1867    </td>
1868  </tr>
1869</table>
1870<a class="anchor" name="Ogre_1_1Mathe17" doxytag="Ogre::Math::Pow" ></a><p>
1871<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1872  <tr>
1873    <td class="mdRow">
1874      <table cellpadding="0" cellspacing="0" border="0">
1875        <tr>
1876          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Pow </td>
1877          <td class="md" valign="top">(&nbsp;</td>
1878          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1879          <td class="mdname" nowrap> <em>fBase</em>, </td>
1880        </tr>
1881        <tr>
1882          <td class="md" nowrap align="right"></td>
1883          <td></td>
1884          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1885          <td class="mdname" nowrap> <em>fExponent</em></td>
1886        </tr>
1887        <tr>
1888          <td></td>
1889          <td class="md">)&nbsp;</td>
1890          <td class="md" colspan="2"><code> [static]</code></td>
1891        </tr>
1892
1893      </table>
1894    </td>
1895  </tr>
1896</table>
1897<table cellspacing=5 cellpadding=0 border=0>
1898  <tr>
1899    <td>
1900      &nbsp;
1901    </td>
1902    <td>
1903
1904<p>
1905
1906<p>
1907Definition at line <a class="el" href="OgreMath_8h-source.html#l00250">250</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1908<p>
1909References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1910  </tr>
1911</table>
1912<a class="anchor" name="Ogre_1_1Mathe38" doxytag="Ogre::Math::RadiansToAngleUnits" ></a><p>
1913<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1914  <tr>
1915    <td class="mdRow">
1916      <table cellpadding="0" cellspacing="0" border="0">
1917        <tr>
1918          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::RadiansToAngleUnits </td>
1919          <td class="md" valign="top">(&nbsp;</td>
1920          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1921          <td class="mdname1" valign="top" nowrap> <em>radians</em>          </td>
1922          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1923          <td class="md" nowrap><code> [static]</code></td>
1924        </tr>
1925
1926      </table>
1927    </td>
1928  </tr>
1929</table>
1930<table cellspacing=5 cellpadding=0 border=0>
1931  <tr>
1932    <td>
1933      &nbsp;
1934    </td>
1935    <td>
1936
1937<p>
1938Convert from radians to the current AngleUnit .
1939<p>
1940    </td>
1941  </tr>
1942</table>
1943<a class="anchor" name="Ogre_1_1Mathe34" doxytag="Ogre::Math::RadiansToDegrees" ></a><p>
1944<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1945  <tr>
1946    <td class="mdRow">
1947      <table cellpadding="0" cellspacing="0" border="0">
1948        <tr>
1949          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::RadiansToDegrees </td>
1950          <td class="md" valign="top">(&nbsp;</td>
1951          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1952          <td class="mdname1" valign="top" nowrap> <em>radians</em>          </td>
1953          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1954          <td class="md" nowrap><code> [static]</code></td>
1955        </tr>
1956
1957      </table>
1958    </td>
1959  </tr>
1960</table>
1961<table cellspacing=5 cellpadding=0 border=0>
1962  <tr>
1963    <td>
1964      &nbsp;
1965    </td>
1966    <td>
1967
1968<p>
1969
1970<p>
1971Definition at line <a class="el" href="OgreMath_8h-source.html#l00324">324</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
1972<p>
1973References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1974  </tr>
1975</table>
1976<a class="anchor" name="Ogre_1_1Mathe29" doxytag="Ogre::Math::RangeRandom" ></a><p>
1977<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1978  <tr>
1979    <td class="mdRow">
1980      <table cellpadding="0" cellspacing="0" border="0">
1981        <tr>
1982          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::RangeRandom </td>
1983          <td class="md" valign="top">(&nbsp;</td>
1984          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1985          <td class="mdname" nowrap> <em>fLow</em>, </td>
1986        </tr>
1987        <tr>
1988          <td class="md" nowrap align="right"></td>
1989          <td></td>
1990          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1991          <td class="mdname" nowrap> <em>fHigh</em></td>
1992        </tr>
1993        <tr>
1994          <td></td>
1995          <td class="md">)&nbsp;</td>
1996          <td class="md" colspan="2"><code> [static]</code></td>
1997        </tr>
1998
1999      </table>
2000    </td>
2001  </tr>
2002</table>
2003<table cellspacing=5 cellpadding=0 border=0>
2004  <tr>
2005    <td>
2006      &nbsp;
2007    </td>
2008    <td>
2009
2010<p>
2011    </td>
2012  </tr>
2013</table>
2014<a class="anchor" name="Ogre_1_1Mathe50" doxytag="Ogre::Math::RealEqual" ></a><p>
2015<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2016  <tr>
2017    <td class="mdRow">
2018      <table cellpadding="0" cellspacing="0" border="0">
2019        <tr>
2020          <td class="md" nowrap valign="top"> bool Ogre::Math::RealEqual </td>
2021          <td class="md" valign="top">(&nbsp;</td>
2022          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2023          <td class="mdname" nowrap> <em>a</em>, </td>
2024        </tr>
2025        <tr>
2026          <td class="md" nowrap align="right"></td>
2027          <td></td>
2028          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2029          <td class="mdname" nowrap> <em>b</em>, </td>
2030        </tr>
2031        <tr>
2032          <td class="md" nowrap align="right"></td>
2033          <td></td>
2034          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2035          <td class="mdname" nowrap> <em>tolerance</em> = std::numeric_limits&lt; <a class="el" href="namespaceOgre.html#a420">Real</a> &gt;::epsilon()</td>
2036        </tr>
2037        <tr>
2038          <td></td>
2039          <td class="md">)&nbsp;</td>
2040          <td class="md" colspan="2"><code> [static]</code></td>
2041        </tr>
2042
2043      </table>
2044    </td>
2045  </tr>
2046</table>
2047<table cellspacing=5 cellpadding=0 border=0>
2048  <tr>
2049    <td>
2050      &nbsp;
2051    </td>
2052    <td>
2053
2054<p>
2055Compare 2 reals, using tolerance for inaccuracies.
2056<p>
2057    </td>
2058  </tr>
2059</table>
2060<a class="anchor" name="Ogre_1_1Mathe35" doxytag="Ogre::Math::setAngleUnit" ></a><p>
2061<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2062  <tr>
2063    <td class="mdRow">
2064      <table cellpadding="0" cellspacing="0" border="0">
2065        <tr>
2066          <td class="md" nowrap valign="top"> void Ogre::Math::setAngleUnit </td>
2067          <td class="md" valign="top">(&nbsp;</td>
2068          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">AngleUnit</a>&nbsp;</td>
2069          <td class="mdname1" valign="top" nowrap> <em>unit</em>          </td>
2070          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2071          <td class="md" nowrap><code> [static]</code></td>
2072        </tr>
2073
2074      </table>
2075    </td>
2076  </tr>
2077</table>
2078<table cellspacing=5 cellpadding=0 border=0>
2079  <tr>
2080    <td>
2081      &nbsp;
2082    </td>
2083    <td>
2084
2085<p>
2086These functions used to set the assumed angle units (radians or degrees) expected when using the <a class="el" href="classOgre_1_1Angle.html">Angle</a> type.
2087<p>
2088<dl compact><dt><b></b></dt><dd>You can set this directly after creating a new <a class="el" href="classOgre_1_1Root.html">Root</a>, and also before/after resource creation, depending on whether you want the change to affect resource files. </dd></dl>
2089    </td>
2090  </tr>
2091</table>
2092<a class="anchor" name="Ogre_1_1Mathe20" doxytag="Ogre::Math::Sign" ></a><p>
2093<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2094  <tr>
2095    <td class="mdRow">
2096      <table cellpadding="0" cellspacing="0" border="0">
2097        <tr>
2098          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Degree.html">Degree</a> Ogre::Math::Sign </td>
2099          <td class="md" valign="top">(&nbsp;</td>
2100          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Degree.html">Degree</a> &amp;&nbsp;</td>
2101          <td class="mdname1" valign="top" nowrap> <em>dValue</em>          </td>
2102          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2103          <td class="md" nowrap><code> [static]</code></td>
2104        </tr>
2105
2106      </table>
2107    </td>
2108  </tr>
2109</table>
2110<table cellspacing=5 cellpadding=0 border=0>
2111  <tr>
2112    <td>
2113      &nbsp;
2114    </td>
2115    <td>
2116
2117<p>
2118
2119<p>
2120Definition at line <a class="el" href="OgreMath_8h-source.html#l00257">257</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2121<p>
2122References <a class="el" href="OgreMath_8h-source.html#l00091">Ogre::Degree::valueDegrees()</a>.    </td>
2123  </tr>
2124</table>
2125<a class="anchor" name="Ogre_1_1Mathe19" doxytag="Ogre::Math::Sign" ></a><p>
2126<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2127  <tr>
2128    <td class="mdRow">
2129      <table cellpadding="0" cellspacing="0" border="0">
2130        <tr>
2131          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> Ogre::Math::Sign </td>
2132          <td class="md" valign="top">(&nbsp;</td>
2133          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
2134          <td class="mdname1" valign="top" nowrap> <em>rValue</em>          </td>
2135          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2136          <td class="md" nowrap><code> [static]</code></td>
2137        </tr>
2138
2139      </table>
2140    </td>
2141  </tr>
2142</table>
2143<table cellspacing=5 cellpadding=0 border=0>
2144  <tr>
2145    <td>
2146      &nbsp;
2147    </td>
2148    <td>
2149
2150<p>
2151
2152<p>
2153Definition at line <a class="el" href="OgreMath_8h-source.html#l00253">253</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2154<p>
2155References <a class="el" href="OgreMath_8h-source.html#l00049">Ogre::Radian::valueRadians()</a>.    </td>
2156  </tr>
2157</table>
2158<a class="anchor" name="Ogre_1_1Mathe18" doxytag="Ogre::Math::Sign" ></a><p>
2159<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2160  <tr>
2161    <td class="mdRow">
2162      <table cellpadding="0" cellspacing="0" border="0">
2163        <tr>
2164          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Sign </td>
2165          <td class="md" valign="top">(&nbsp;</td>
2166          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2167          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
2168          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2169          <td class="md" nowrap><code> [static]</code></td>
2170        </tr>
2171
2172      </table>
2173    </td>
2174  </tr>
2175</table>
2176<table cellspacing=5 cellpadding=0 border=0>
2177  <tr>
2178    <td>
2179      &nbsp;
2180    </td>
2181    <td>
2182
2183<p>
2184    </td>
2185  </tr>
2186</table>
2187<a class="anchor" name="Ogre_1_1Mathe22" doxytag="Ogre::Math::Sin" ></a><p>
2188<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2189  <tr>
2190    <td class="mdRow">
2191      <table cellpadding="0" cellspacing="0" border="0">
2192        <tr>
2193          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Sin </td>
2194          <td class="md" valign="top">(&nbsp;</td>
2195          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2196          <td class="mdname" nowrap> <em>fValue</em>, </td>
2197        </tr>
2198        <tr>
2199          <td class="md" nowrap align="right"></td>
2200          <td></td>
2201          <td class="md" nowrap>bool&nbsp;</td>
2202          <td class="mdname" nowrap> <em>useTables</em> = false</td>
2203        </tr>
2204        <tr>
2205          <td></td>
2206          <td class="md">)&nbsp;</td>
2207          <td class="md" colspan="2"><code> [static]</code></td>
2208        </tr>
2209
2210      </table>
2211    </td>
2212  </tr>
2213</table>
2214<table cellspacing=5 cellpadding=0 border=0>
2215  <tr>
2216    <td>
2217      &nbsp;
2218    </td>
2219    <td>
2220
2221<p>
2222Sine function.
2223<p>
2224<dl compact><dt><b>Parameters:</b></dt><dd>
2225  <table border="0" cellspacing="2" cellpadding="0">
2226    <tr><td valign=top><em>fValue</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Angle.html">Angle</a> in radians </td></tr>
2227    <tr><td valign=top><em>useTables</em>&nbsp;</td><td>If true, uses lookup tables rather than calculation - faster but less accurate. </td></tr>
2228  </table>
2229</dl>
2230
2231<p>
2232Definition at line <a class="el" href="OgreMath_8h-source.html#l00279">279</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2233<p>
2234References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
2235  </tr>
2236</table>
2237<a class="anchor" name="Ogre_1_1Mathe21" doxytag="Ogre::Math::Sin" ></a><p>
2238<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2239  <tr>
2240    <td class="mdRow">
2241      <table cellpadding="0" cellspacing="0" border="0">
2242        <tr>
2243          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Sin </td>
2244          <td class="md" valign="top">(&nbsp;</td>
2245          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
2246          <td class="mdname" nowrap> <em>fValue</em>, </td>
2247        </tr>
2248        <tr>
2249          <td class="md" nowrap align="right"></td>
2250          <td></td>
2251          <td class="md" nowrap>bool&nbsp;</td>
2252          <td class="mdname" nowrap> <em>useTables</em> = false</td>
2253        </tr>
2254        <tr>
2255          <td></td>
2256          <td class="md">)&nbsp;</td>
2257          <td class="md" colspan="2"><code> [static]</code></td>
2258        </tr>
2259
2260      </table>
2261    </td>
2262  </tr>
2263</table>
2264<table cellspacing=5 cellpadding=0 border=0>
2265  <tr>
2266    <td>
2267      &nbsp;
2268    </td>
2269    <td>
2270
2271<p>
2272Sine function.
2273<p>
2274<dl compact><dt><b>Parameters:</b></dt><dd>
2275  <table border="0" cellspacing="2" cellpadding="0">
2276    <tr><td valign=top><em>fValue</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Angle.html">Angle</a> in radians </td></tr>
2277    <tr><td valign=top><em>useTables</em>&nbsp;</td><td>If true, uses lookup tables rather than calculation - faster but less accurate. </td></tr>
2278  </table>
2279</dl>
2280
2281<p>
2282Definition at line <a class="el" href="OgreMath_8h-source.html#l00269">269</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2283<p>
2284References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, and <a class="el" href="OgreMath_8h-source.html#l00049">Ogre::Radian::valueRadians()</a>.    </td>
2285  </tr>
2286</table>
2287<a class="anchor" name="Ogre_1_1Mathf0" doxytag="Ogre::Math::SinTable" ></a><p>
2288<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2289  <tr>
2290    <td class="mdRow">
2291      <table cellpadding="0" cellspacing="0" border="0">
2292        <tr>
2293          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::SinTable </td>
2294          <td class="md" valign="top">(&nbsp;</td>
2295          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2296          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
2297          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2298          <td class="md" nowrap><code> [static, protected]</code></td>
2299        </tr>
2300
2301      </table>
2302    </td>
2303  </tr>
2304</table>
2305<table cellspacing=5 cellpadding=0 border=0>
2306  <tr>
2307    <td>
2308      &nbsp;
2309    </td>
2310    <td>
2311
2312<p>
2313    </td>
2314  </tr>
2315</table>
2316<a class="anchor" name="Ogre_1_1Mathe23" doxytag="Ogre::Math::Sqr" ></a><p>
2317<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2318  <tr>
2319    <td class="mdRow">
2320      <table cellpadding="0" cellspacing="0" border="0">
2321        <tr>
2322          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Sqr </td>
2323          <td class="md" valign="top">(&nbsp;</td>
2324          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2325          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
2326          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2327          <td class="md" nowrap><code> [static]</code></td>
2328        </tr>
2329
2330      </table>
2331    </td>
2332  </tr>
2333</table>
2334<table cellspacing=5 cellpadding=0 border=0>
2335  <tr>
2336    <td>
2337      &nbsp;
2338    </td>
2339    <td>
2340
2341<p>
2342
2343<p>
2344Definition at line <a class="el" href="OgreMath_8h-source.html#l00283">283</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2345<p>
2346References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
2347  </tr>
2348</table>
2349<a class="anchor" name="Ogre_1_1Mathe26" doxytag="Ogre::Math::Sqrt" ></a><p>
2350<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2351  <tr>
2352    <td class="mdRow">
2353      <table cellpadding="0" cellspacing="0" border="0">
2354        <tr>
2355          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Degree.html">Degree</a> Ogre::Math::Sqrt </td>
2356          <td class="md" valign="top">(&nbsp;</td>
2357          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Degree.html">Degree</a> &amp;&nbsp;</td>
2358          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
2359          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2360          <td class="md" nowrap><code> [static]</code></td>
2361        </tr>
2362
2363      </table>
2364    </td>
2365  </tr>
2366</table>
2367<table cellspacing=5 cellpadding=0 border=0>
2368  <tr>
2369    <td>
2370      &nbsp;
2371    </td>
2372    <td>
2373
2374<p>
2375
2376<p>
2377Definition at line <a class="el" href="OgreMath_8h-source.html#l00289">289</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2378<p>
2379References <a class="el" href="OgreMath_8h-source.html#l00091">Ogre::Degree::valueDegrees()</a>.    </td>
2380  </tr>
2381</table>
2382<a class="anchor" name="Ogre_1_1Mathe25" doxytag="Ogre::Math::Sqrt" ></a><p>
2383<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2384  <tr>
2385    <td class="mdRow">
2386      <table cellpadding="0" cellspacing="0" border="0">
2387        <tr>
2388          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> Ogre::Math::Sqrt </td>
2389          <td class="md" valign="top">(&nbsp;</td>
2390          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
2391          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
2392          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2393          <td class="md" nowrap><code> [static]</code></td>
2394        </tr>
2395
2396      </table>
2397    </td>
2398  </tr>
2399</table>
2400<table cellspacing=5 cellpadding=0 border=0>
2401  <tr>
2402    <td>
2403      &nbsp;
2404    </td>
2405    <td>
2406
2407<p>
2408
2409<p>
2410Definition at line <a class="el" href="OgreMath_8h-source.html#l00287">287</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2411<p>
2412References <a class="el" href="OgreMath_8h-source.html#l00049">Ogre::Radian::valueRadians()</a>.    </td>
2413  </tr>
2414</table>
2415<a class="anchor" name="Ogre_1_1Mathe24" doxytag="Ogre::Math::Sqrt" ></a><p>
2416<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2417  <tr>
2418    <td class="mdRow">
2419      <table cellpadding="0" cellspacing="0" border="0">
2420        <tr>
2421          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Sqrt </td>
2422          <td class="md" valign="top">(&nbsp;</td>
2423          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2424          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
2425          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2426          <td class="md" nowrap><code> [static]</code></td>
2427        </tr>
2428
2429      </table>
2430    </td>
2431  </tr>
2432</table>
2433<table cellspacing=5 cellpadding=0 border=0>
2434  <tr>
2435    <td>
2436      &nbsp;
2437    </td>
2438    <td>
2439
2440<p>
2441
2442<p>
2443Definition at line <a class="el" href="OgreMath_8h-source.html#l00285">285</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2444<p>
2445References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
2446  </tr>
2447</table>
2448<a class="anchor" name="Ogre_1_1Mathe30" doxytag="Ogre::Math::SymmetricRandom" ></a><p>
2449<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2450  <tr>
2451    <td class="mdRow">
2452      <table cellpadding="0" cellspacing="0" border="0">
2453        <tr>
2454          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::SymmetricRandom </td>
2455          <td class="md" valign="top">(&nbsp;</td>
2456          <td class="mdname1" valign="top" nowrap>          </td>
2457          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2458          <td class="md" nowrap><code> [static]</code></td>
2459        </tr>
2460
2461      </table>
2462    </td>
2463  </tr>
2464</table>
2465<table cellspacing=5 cellpadding=0 border=0>
2466  <tr>
2467    <td>
2468      &nbsp;
2469    </td>
2470    <td>
2471
2472<p>
2473    </td>
2474  </tr>
2475</table>
2476<a class="anchor" name="Ogre_1_1Mathe32" doxytag="Ogre::Math::Tan" ></a><p>
2477<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2478  <tr>
2479    <td class="mdRow">
2480      <table cellpadding="0" cellspacing="0" border="0">
2481        <tr>
2482          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Tan </td>
2483          <td class="md" valign="top">(&nbsp;</td>
2484          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2485          <td class="mdname" nowrap> <em>fValue</em>, </td>
2486        </tr>
2487        <tr>
2488          <td class="md" nowrap align="right"></td>
2489          <td></td>
2490          <td class="md" nowrap>bool&nbsp;</td>
2491          <td class="mdname" nowrap> <em>useTables</em> = false</td>
2492        </tr>
2493        <tr>
2494          <td></td>
2495          <td class="md">)&nbsp;</td>
2496          <td class="md" colspan="2"><code> [static]</code></td>
2497        </tr>
2498
2499      </table>
2500    </td>
2501  </tr>
2502</table>
2503<table cellspacing=5 cellpadding=0 border=0>
2504  <tr>
2505    <td>
2506      &nbsp;
2507    </td>
2508    <td>
2509
2510<p>
2511Tangent function.
2512<p>
2513<dl compact><dt><b>Parameters:</b></dt><dd>
2514  <table border="0" cellspacing="2" cellpadding="0">
2515    <tr><td valign=top><em>fValue</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Angle.html">Angle</a> in radians </td></tr>
2516    <tr><td valign=top><em>useTables</em>&nbsp;</td><td>If true, uses lookup tables rather than calculation - faster but less accurate. </td></tr>
2517  </table>
2518</dl>
2519
2520<p>
2521Definition at line <a class="el" href="OgreMath_8h-source.html#l00319">319</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2522<p>
2523References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
2524  </tr>
2525</table>
2526<a class="anchor" name="Ogre_1_1Mathe31" doxytag="Ogre::Math::Tan" ></a><p>
2527<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2528  <tr>
2529    <td class="mdRow">
2530      <table cellpadding="0" cellspacing="0" border="0">
2531        <tr>
2532          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::Tan </td>
2533          <td class="md" valign="top">(&nbsp;</td>
2534          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
2535          <td class="mdname" nowrap> <em>fValue</em>, </td>
2536        </tr>
2537        <tr>
2538          <td class="md" nowrap align="right"></td>
2539          <td></td>
2540          <td class="md" nowrap>bool&nbsp;</td>
2541          <td class="mdname" nowrap> <em>useTables</em> = false</td>
2542        </tr>
2543        <tr>
2544          <td></td>
2545          <td class="md">)&nbsp;</td>
2546          <td class="md" colspan="2"><code> [static]</code></td>
2547        </tr>
2548
2549      </table>
2550    </td>
2551  </tr>
2552</table>
2553<table cellspacing=5 cellpadding=0 border=0>
2554  <tr>
2555    <td>
2556      &nbsp;
2557    </td>
2558    <td>
2559
2560<p>
2561Tangent function.
2562<p>
2563<dl compact><dt><b>Parameters:</b></dt><dd>
2564  <table border="0" cellspacing="2" cellpadding="0">
2565    <tr><td valign=top><em>fValue</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Angle.html">Angle</a> in radians </td></tr>
2566    <tr><td valign=top><em>useTables</em>&nbsp;</td><td>If true, uses lookup tables rather than calculation - faster but less accurate. </td></tr>
2567  </table>
2568</dl>
2569
2570<p>
2571Definition at line <a class="el" href="OgreMath_8h-source.html#l00309">309</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.
2572<p>
2573References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, and <a class="el" href="OgreMath_8h-source.html#l00049">Ogre::Radian::valueRadians()</a>.    </td>
2574  </tr>
2575</table>
2576<a class="anchor" name="Ogre_1_1Mathf1" doxytag="Ogre::Math::TanTable" ></a><p>
2577<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2578  <tr>
2579    <td class="mdRow">
2580      <table cellpadding="0" cellspacing="0" border="0">
2581        <tr>
2582          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::TanTable </td>
2583          <td class="md" valign="top">(&nbsp;</td>
2584          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
2585          <td class="mdname1" valign="top" nowrap> <em>fValue</em>          </td>
2586          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2587          <td class="md" nowrap><code> [static, protected]</code></td>
2588        </tr>
2589
2590      </table>
2591    </td>
2592  </tr>
2593</table>
2594<table cellspacing=5 cellpadding=0 border=0>
2595  <tr>
2596    <td>
2597      &nbsp;
2598    </td>
2599    <td>
2600
2601<p>
2602    </td>
2603  </tr>
2604</table>
2605<a class="anchor" name="Ogre_1_1Mathe28" doxytag="Ogre::Math::UnitRandom" ></a><p>
2606<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2607  <tr>
2608    <td class="mdRow">
2609      <table cellpadding="0" cellspacing="0" border="0">
2610        <tr>
2611          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Math::UnitRandom </td>
2612          <td class="md" valign="top">(&nbsp;</td>
2613          <td class="mdname1" valign="top" nowrap>          </td>
2614          <td class="md" valign="top">&nbsp;)&nbsp;</td>
2615          <td class="md" nowrap><code> [static]</code></td>
2616        </tr>
2617
2618      </table>
2619    </td>
2620  </tr>
2621</table>
2622<table cellspacing=5 cellpadding=0 border=0>
2623  <tr>
2624    <td>
2625      &nbsp;
2626    </td>
2627    <td>
2628
2629<p>
2630    </td>
2631  </tr>
2632</table>
2633<hr><h2>Member Data Documentation</h2>
2634<a class="anchor" name="Ogre_1_1Maths5" doxytag="Ogre::Math::fDeg2Rad" ></a><p>
2635<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2636  <tr>
2637    <td class="mdRow">
2638      <table cellpadding="0" cellspacing="0" border="0">
2639        <tr>
2640          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths5">Ogre::Math::fDeg2Rad</a><code> [static]</code>
2641      </table>
2642    </td>
2643  </tr>
2644</table>
2645<table cellspacing=5 cellpadding=0 border=0>
2646  <tr>
2647    <td>
2648      &nbsp;
2649    </td>
2650    <td>
2651
2652<p>
2653
2654<p>
2655Definition at line <a class="el" href="OgreMath_8h-source.html#l00440">440</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2656  </tr>
2657</table>
2658<a class="anchor" name="Ogre_1_1Maths6" doxytag="Ogre::Math::fRad2Deg" ></a><p>
2659<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2660  <tr>
2661    <td class="mdRow">
2662      <table cellpadding="0" cellspacing="0" border="0">
2663        <tr>
2664          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths6">Ogre::Math::fRad2Deg</a><code> [static]</code>
2665      </table>
2666    </td>
2667  </tr>
2668</table>
2669<table cellspacing=5 cellpadding=0 border=0>
2670  <tr>
2671    <td>
2672      &nbsp;
2673    </td>
2674    <td>
2675
2676<p>
2677
2678<p>
2679Definition at line <a class="el" href="OgreMath_8h-source.html#l00441">441</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2680  </tr>
2681</table>
2682<a class="anchor" name="Ogre_1_1Maths4" doxytag="Ogre::Math::HALF_PI" ></a><p>
2683<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2684  <tr>
2685    <td class="mdRow">
2686      <table cellpadding="0" cellspacing="0" border="0">
2687        <tr>
2688          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths4">Ogre::Math::HALF_PI</a><code> [static]</code>
2689      </table>
2690    </td>
2691  </tr>
2692</table>
2693<table cellspacing=5 cellpadding=0 border=0>
2694  <tr>
2695    <td>
2696      &nbsp;
2697    </td>
2698    <td>
2699
2700<p>
2701
2702<p>
2703Definition at line <a class="el" href="OgreMath_8h-source.html#l00439">439</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2704  </tr>
2705</table>
2706<a class="anchor" name="Ogre_1_1Matht0" doxytag="Ogre::Math::msAngleUnit" ></a><p>
2707<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2708  <tr>
2709    <td class="mdRow">
2710      <table cellpadding="0" cellspacing="0" border="0">
2711        <tr>
2712          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathw2">AngleUnit</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht0">Ogre::Math::msAngleUnit</a><code> [static, protected]</code>
2713      </table>
2714    </td>
2715  </tr>
2716</table>
2717<table cellspacing=5 cellpadding=0 border=0>
2718  <tr>
2719    <td>
2720      &nbsp;
2721    </td>
2722    <td>
2723
2724<p>
2725
2726<p>
2727Definition at line <a class="el" href="OgreMath_8h-source.html#l00181">181</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2728  </tr>
2729</table>
2730<a class="anchor" name="Ogre_1_1Matht3" doxytag="Ogre::Math::mSinTable" ></a><p>
2731<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2732  <tr>
2733    <td class="mdRow">
2734      <table cellpadding="0" cellspacing="0" border="0">
2735        <tr>
2736          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a>* <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht3">Ogre::Math::mSinTable</a><code> [static, protected]</code>
2737      </table>
2738    </td>
2739  </tr>
2740</table>
2741<table cellspacing=5 cellpadding=0 border=0>
2742  <tr>
2743    <td>
2744      &nbsp;
2745    </td>
2746    <td>
2747
2748<p>
2749
2750<p>
2751Definition at line <a class="el" href="OgreMath_8h-source.html#l00188">188</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2752  </tr>
2753</table>
2754<a class="anchor" name="Ogre_1_1Matht4" doxytag="Ogre::Math::mTanTable" ></a><p>
2755<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2756  <tr>
2757    <td class="mdRow">
2758      <table cellpadding="0" cellspacing="0" border="0">
2759        <tr>
2760          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a>* <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht4">Ogre::Math::mTanTable</a><code> [static, protected]</code>
2761      </table>
2762    </td>
2763  </tr>
2764</table>
2765<table cellspacing=5 cellpadding=0 border=0>
2766  <tr>
2767    <td>
2768      &nbsp;
2769    </td>
2770    <td>
2771
2772<p>
2773
2774<p>
2775Definition at line <a class="el" href="OgreMath_8h-source.html#l00189">189</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2776  </tr>
2777</table>
2778<a class="anchor" name="Ogre_1_1Matht2" doxytag="Ogre::Math::mTrigTableFactor" ></a><p>
2779<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2780  <tr>
2781    <td class="mdRow">
2782      <table cellpadding="0" cellspacing="0" border="0">
2783        <tr>
2784          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht2">Ogre::Math::mTrigTableFactor</a><code> [static, protected]</code>
2785      </table>
2786    </td>
2787  </tr>
2788</table>
2789<table cellspacing=5 cellpadding=0 border=0>
2790  <tr>
2791    <td>
2792      &nbsp;
2793    </td>
2794    <td>
2795
2796<p>
2797<a class="el" href="classOgre_1_1Radian.html">Radian</a> -&gt; index factor value ( mTrigTableSize / 2 * PI ).
2798<p>
2799
2800<p>
2801Definition at line <a class="el" href="OgreMath_8h-source.html#l00187">187</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2802  </tr>
2803</table>
2804<a class="anchor" name="Ogre_1_1Matht1" doxytag="Ogre::Math::mTrigTableSize" ></a><p>
2805<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2806  <tr>
2807    <td class="mdRow">
2808      <table cellpadding="0" cellspacing="0" border="0">
2809        <tr>
2810          <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Matht1">Ogre::Math::mTrigTableSize</a><code> [static, protected]</code>
2811      </table>
2812    </td>
2813  </tr>
2814</table>
2815<table cellspacing=5 cellpadding=0 border=0>
2816  <tr>
2817    <td>
2818      &nbsp;
2819    </td>
2820    <td>
2821
2822<p>
2823Size of the trig tables as determined by constructor.
2824<p>
2825
2826<p>
2827Definition at line <a class="el" href="OgreMath_8h-source.html#l00184">184</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2828  </tr>
2829</table>
2830<a class="anchor" name="Ogre_1_1Maths1" doxytag="Ogre::Math::NEG_INFINITY" ></a><p>
2831<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2832  <tr>
2833    <td class="mdRow">
2834      <table cellpadding="0" cellspacing="0" border="0">
2835        <tr>
2836          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths1">Ogre::Math::NEG_INFINITY</a><code> [static]</code>
2837      </table>
2838    </td>
2839  </tr>
2840</table>
2841<table cellspacing=5 cellpadding=0 border=0>
2842  <tr>
2843    <td>
2844      &nbsp;
2845    </td>
2846    <td>
2847
2848<p>
2849
2850<p>
2851Definition at line <a class="el" href="OgreMath_8h-source.html#l00436">436</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2852  </tr>
2853</table>
2854<a class="anchor" name="Ogre_1_1Maths2" doxytag="Ogre::Math::PI" ></a><p>
2855<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2856  <tr>
2857    <td class="mdRow">
2858      <table cellpadding="0" cellspacing="0" border="0">
2859        <tr>
2860          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths2">Ogre::Math::PI</a><code> [static]</code>
2861      </table>
2862    </td>
2863  </tr>
2864</table>
2865<table cellspacing=5 cellpadding=0 border=0>
2866  <tr>
2867    <td>
2868      &nbsp;
2869    </td>
2870    <td>
2871
2872<p>
2873
2874<p>
2875Definition at line <a class="el" href="OgreMath_8h-source.html#l00437">437</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2876  </tr>
2877</table>
2878<a class="anchor" name="Ogre_1_1Maths0" doxytag="Ogre::Math::POS_INFINITY" ></a><p>
2879<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2880  <tr>
2881    <td class="mdRow">
2882      <table cellpadding="0" cellspacing="0" border="0">
2883        <tr>
2884          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths0">Ogre::Math::POS_INFINITY</a><code> [static]</code>
2885      </table>
2886    </td>
2887  </tr>
2888</table>
2889<table cellspacing=5 cellpadding=0 border=0>
2890  <tr>
2891    <td>
2892      &nbsp;
2893    </td>
2894    <td>
2895
2896<p>
2897
2898<p>
2899Definition at line <a class="el" href="OgreMath_8h-source.html#l00435">435</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2900  </tr>
2901</table>
2902<a class="anchor" name="Ogre_1_1Maths3" doxytag="Ogre::Math::TWO_PI" ></a><p>
2903<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2904  <tr>
2905    <td class="mdRow">
2906      <table cellpadding="0" cellspacing="0" border="0">
2907        <tr>
2908          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Maths3">Ogre::Math::TWO_PI</a><code> [static]</code>
2909      </table>
2910    </td>
2911  </tr>
2912</table>
2913<table cellspacing=5 cellpadding=0 border=0>
2914  <tr>
2915    <td>
2916      &nbsp;
2917    </td>
2918    <td>
2919
2920<p>
2921
2922<p>
2923Definition at line <a class="el" href="OgreMath_8h-source.html#l00438">438</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.    </td>
2924  </tr>
2925</table>
2926<hr>The documentation for this class was generated from the following file:<ul>
2927<li><a class="el" href="OgreMath_8h-source.html">OgreMath.h</a></ul>
2928<hr>
2929<p>
2930Copyright &copy; 2000-2005 by The OGRE Team<br />
2931<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
2932This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
2933                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
2934                <Work rdf:about="">
2935                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
2936        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
2937                </Work>
2938                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
2939
2940Last modified Sun Feb 12 13:01:04 2006
2941</p>
2942</body>
2943</html>
Note: See TracBrowser for help on using the repository browser.