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

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

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::Vector3 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::Vector3 Class Reference</h1>Standard 3-dimensional vector. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>&gt;</code>
14<p>
15<a href="classOgre_1_1Vector3-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 Member Functions</h2></td></tr>
18<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a0">Vector3</a> ()</td></tr>
19
20<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a1">Vector3</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fX, <a class="el" href="namespaceOgre.html#a420">Real</a> fY, <a class="el" href="namespaceOgre.html#a420">Real</a> fZ)</td></tr>
21
22<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a2">Vector3</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> afCoordinate[3])</td></tr>
23
24<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a3">Vector3</a> (int afCoordinate[3])</td></tr>
25
26<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a4">Vector3</a> (const <a class="el" href="namespaceOgre.html#a420">Real</a> *const r)</td></tr>
27
28<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a5">Vector3</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector)</td></tr>
29
30<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_1Vector3.html#Ogre_1_1Vector3a6">operator[]</a> (size_t i) const </td></tr>
31
32<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a7">operator[]</a> (size_t i)</td></tr>
33
34<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a8">operator=</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector)</td></tr>
35
36<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assigns the value of the other vector.  <a href="#Ogre_1_1Vector3a8"></a><br><br></td></tr>
37<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a9">operator==</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector) const </td></tr>
38
39<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a10">operator!=</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector) const </td></tr>
40
41<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_1Vector3.html#Ogre_1_1Vector3a11">operator+</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector) const </td></tr>
42
43<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_1Vector3.html#Ogre_1_1Vector3a12">operator-</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector) const </td></tr>
44
45<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_1Vector3.html#Ogre_1_1Vector3a13">operator *</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fScalar) const </td></tr>
46
47<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_1Vector3.html#Ogre_1_1Vector3a14">operator *</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rhs) const </td></tr>
48
49<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_1Vector3.html#Ogre_1_1Vector3a15">operator/</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fScalar) const </td></tr>
50
51<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_1Vector3.html#Ogre_1_1Vector3a16">operator/</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rhs) const </td></tr>
52
53<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_1Vector3.html#Ogre_1_1Vector3a17">operator-</a> () const </td></tr>
54
55<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a18">operator+=</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector)</td></tr>
56
57<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a19">operator-=</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector)</td></tr>
58
59<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a20">operator *=</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fScalar)</td></tr>
60
61<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a21">operator *=</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector)</td></tr>
62
63<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a22">operator/=</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fScalar)</td></tr>
64
65<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a23">operator/=</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector)</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_1Vector3.html#Ogre_1_1Vector3a24">length</a> () const </td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the length (magnitude) of the vector.  <a href="#Ogre_1_1Vector3a24"></a><br><br></td></tr>
70<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_1Vector3.html#Ogre_1_1Vector3a25">squaredLength</a> () const </td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the square of the length(magnitude) of the vector.  <a href="#Ogre_1_1Vector3a25"></a><br><br></td></tr>
73<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_1Vector3.html#Ogre_1_1Vector3a26">dotProduct</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;vec) const </td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculates the dot (scalar) product of this vector with another.  <a href="#Ogre_1_1Vector3a26"></a><br><br></td></tr>
76<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_1Vector3.html#Ogre_1_1Vector3a27">normalise</a> ()</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Normalises the vector.  <a href="#Ogre_1_1Vector3a27"></a><br><br></td></tr>
79<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_1Vector3.html#Ogre_1_1Vector3a28">crossProduct</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector) const </td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculates the cross-product of 2 vectors, i.e.  <a href="#Ogre_1_1Vector3a28"></a><br><br></td></tr>
82<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_1Vector3.html#Ogre_1_1Vector3a29">midPoint</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;vec) const </td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a vector at a point half way between this and the passed in vector.  <a href="#Ogre_1_1Vector3a29"></a><br><br></td></tr>
85<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a30">operator&lt;</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rhs) const </td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the vector's scalar components are all greater that the ones of the vector it is compared against.  <a href="#Ogre_1_1Vector3a30"></a><br><br></td></tr>
88<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a31">operator&gt;</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rhs) const </td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the vector's scalar components are all smaller that the ones of the vector it is compared against.  <a href="#Ogre_1_1Vector3a31"></a><br><br></td></tr>
91<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a32">makeFloor</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;cmp)</td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets this vector's components to the minimum of its own and the ones of the passed in vector.  <a href="#Ogre_1_1Vector3a32"></a><br><br></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a33">makeCeil</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;cmp)</td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets this vector's components to the maximum of its own and the ones of the passed in vector.  <a href="#Ogre_1_1Vector3a33"></a><br><br></td></tr>
97<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_1Vector3.html#Ogre_1_1Vector3a34">perpendicular</a> (void) const </td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generates a vector perpendicular to this vector (eg an 'up' vector).  <a href="#Ogre_1_1Vector3a34"></a><br><br></td></tr>
100<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_1Vector3.html#Ogre_1_1Vector3a35">randomDeviant</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;angle, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;up=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a>) const </td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generates a new random vector which deviates from this vector by a given angle in a random direction.  <a href="#Ogre_1_1Vector3a35"></a><br><br></td></tr>
103<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a36">getRotationTo</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;dest) const </td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the shortest arc quaternion to rotate this vector to the destination vector.  <a href="#Ogre_1_1Vector3a36"></a><br><br></td></tr>
106<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a37">isZeroLength</a> (void) const </td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if this vector is zero length.  <a href="#Ogre_1_1Vector3a37"></a><br><br></td></tr>
109<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_1Vector3.html#Ogre_1_1Vector3a38">normalisedCopy</a> (void) const </td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.  <a href="#Ogre_1_1Vector3a38"></a><br><br></td></tr>
112<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_1Vector3.html#Ogre_1_1Vector3a39">reflect</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;normal) const </td></tr>
113
114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculates a reflection vector to the plane with the given normal .  <a href="#Ogre_1_1Vector3a39"></a><br><br></td></tr>
115<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a40">positionEquals</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rhs, <a class="el" href="namespaceOgre.html#a420">Real</a> tolerance=1e-03) const </td></tr>
116
117<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether this vector is within a positional tolerance of another vector.  <a href="#Ogre_1_1Vector3a40"></a><br><br></td></tr>
118<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a41">directionEquals</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rhs, const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;tolerance) const </td></tr>
119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether this vector is within a directional tolerance of another vector.  <a href="#Ogre_1_1Vector3a41"></a><br><br></td></tr>
121<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
122<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">ZERO</a></td></tr>
123
124<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s1">UNIT_X</a></td></tr>
125
126<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">UNIT_Y</a></td></tr>
127
128<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s3">UNIT_Z</a></td></tr>
129
130<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s4">NEGATIVE_UNIT_X</a></td></tr>
131
132<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s5">NEGATIVE_UNIT_Y</a></td></tr>
133
134<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s6">NEGATIVE_UNIT_Z</a></td></tr>
135
136<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s7">UNIT_SCALE</a></td></tr>
137
138<tr><td colspan=2><br><h2>Friends</h2></td></tr>
139<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_1Vector3.html#Ogre_1_1Vector3n0">operator *</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> fScalar, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;rkVector)</td></tr>
140
141<tr><td class="memItemLeft" nowrap align=right valign=top>_OgreExport friend std::ostream &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3n1">operator&lt;&lt;</a> (std::ostream &amp;o, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v)</td></tr>
142
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function for writing to a stream.  <a href="#Ogre_1_1Vector3n1"></a><br><br></td></tr>
144</table>
145<hr><a name="_details"></a><h2>Detailed Description</h2>
146Standard 3-dimensional vector.
147<p>
148<dl compact><dt><b>Remarks:</b></dt><dd>A direction in 3D space represented as distances along the 3 orthoganal axes (x, y, z). Note that positions, directions and scaling factors can be represented by a vector, depending on how you interpret the values. </dd></dl>
149
150<p>
151
152<p>
153Definition at line <a class="el" href="OgreVector3_8h-source.html#l00042">42</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
154<a class="anchor" name="Ogre_1_1Vector3a0" doxytag="Ogre::Vector3::Vector3" ></a><p>
155<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
156  <tr>
157    <td class="mdRow">
158      <table cellpadding="0" cellspacing="0" border="0">
159        <tr>
160          <td class="md" nowrap valign="top"> Ogre::Vector3::Vector3 </td>
161          <td class="md" valign="top">(&nbsp;</td>
162          <td class="mdname1" valign="top" nowrap>          </td>
163          <td class="md" valign="top">&nbsp;)&nbsp;</td>
164          <td class="md" nowrap></td>
165        </tr>
166
167      </table>
168    </td>
169  </tr>
170</table>
171<table cellspacing=5 cellpadding=0 border=0>
172  <tr>
173    <td>
174      &nbsp;
175    </td>
176    <td>
177
178<p>
179
180<p>
181Definition at line <a class="el" href="OgreVector3_8h-source.html#l00053">53</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
182  </tr>
183</table>
184<a class="anchor" name="Ogre_1_1Vector3a1" doxytag="Ogre::Vector3::Vector3" ></a><p>
185<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
186  <tr>
187    <td class="mdRow">
188      <table cellpadding="0" cellspacing="0" border="0">
189        <tr>
190          <td class="md" nowrap valign="top"> Ogre::Vector3::Vector3 </td>
191          <td class="md" valign="top">(&nbsp;</td>
192          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
193          <td class="mdname" nowrap> <em>fX</em>, </td>
194        </tr>
195        <tr>
196          <td class="md" nowrap align="right"></td>
197          <td></td>
198          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
199          <td class="mdname" nowrap> <em>fY</em>, </td>
200        </tr>
201        <tr>
202          <td class="md" nowrap align="right"></td>
203          <td></td>
204          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
205          <td class="mdname" nowrap> <em>fZ</em></td>
206        </tr>
207        <tr>
208          <td></td>
209          <td class="md">)&nbsp;</td>
210          <td class="md" colspan="2"></td>
211        </tr>
212
213      </table>
214    </td>
215  </tr>
216</table>
217<table cellspacing=5 cellpadding=0 border=0>
218  <tr>
219    <td>
220      &nbsp;
221    </td>
222    <td>
223
224<p>
225
226<p>
227Definition at line <a class="el" href="OgreVector3_8h-source.html#l00057">57</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
228<p>
229References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
230  </tr>
231</table>
232<a class="anchor" name="Ogre_1_1Vector3a2" doxytag="Ogre::Vector3::Vector3" ></a><p>
233<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
234  <tr>
235    <td class="mdRow">
236      <table cellpadding="0" cellspacing="0" border="0">
237        <tr>
238          <td class="md" nowrap valign="top"> Ogre::Vector3::Vector3 </td>
239          <td class="md" valign="top">(&nbsp;</td>
240          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
241          <td class="mdname1" valign="top" nowrap> <em>afCoordinate</em>[3]          </td>
242          <td class="md" valign="top">&nbsp;)&nbsp;</td>
243          <td class="md" nowrap></td>
244        </tr>
245
246      </table>
247    </td>
248  </tr>
249</table>
250<table cellspacing=5 cellpadding=0 border=0>
251  <tr>
252    <td>
253      &nbsp;
254    </td>
255    <td>
256
257<p>
258
259<p>
260Definition at line <a class="el" href="OgreVector3_8h-source.html#l00062">62</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
261<p>
262References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
263  </tr>
264</table>
265<a class="anchor" name="Ogre_1_1Vector3a3" doxytag="Ogre::Vector3::Vector3" ></a><p>
266<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
267  <tr>
268    <td class="mdRow">
269      <table cellpadding="0" cellspacing="0" border="0">
270        <tr>
271          <td class="md" nowrap valign="top"> Ogre::Vector3::Vector3 </td>
272          <td class="md" valign="top">(&nbsp;</td>
273          <td class="md" nowrap valign="top">int&nbsp;</td>
274          <td class="mdname1" valign="top" nowrap> <em>afCoordinate</em>[3]          </td>
275          <td class="md" valign="top">&nbsp;)&nbsp;</td>
276          <td class="md" nowrap></td>
277        </tr>
278
279      </table>
280    </td>
281  </tr>
282</table>
283<table cellspacing=5 cellpadding=0 border=0>
284  <tr>
285    <td>
286      &nbsp;
287    </td>
288    <td>
289
290<p>
291
292<p>
293Definition at line <a class="el" href="OgreVector3_8h-source.html#l00069">69</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
294<p>
295References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
296  </tr>
297</table>
298<a class="anchor" name="Ogre_1_1Vector3a4" doxytag="Ogre::Vector3::Vector3" ></a><p>
299<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
300  <tr>
301    <td class="mdRow">
302      <table cellpadding="0" cellspacing="0" border="0">
303        <tr>
304          <td class="md" nowrap valign="top"> Ogre::Vector3::Vector3 </td>
305          <td class="md" valign="top">(&nbsp;</td>
306          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a420">Real</a> *const&nbsp;</td>
307          <td class="mdname1" valign="top" nowrap> <em>r</em>          </td>
308          <td class="md" valign="top">&nbsp;)&nbsp;</td>
309          <td class="md" nowrap></td>
310        </tr>
311
312      </table>
313    </td>
314  </tr>
315</table>
316<table cellspacing=5 cellpadding=0 border=0>
317  <tr>
318    <td>
319      &nbsp;
320    </td>
321    <td>
322
323<p>
324
325<p>
326Definition at line <a class="el" href="OgreVector3_8h-source.html#l00076">76</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
327<p>
328References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
329  </tr>
330</table>
331<a class="anchor" name="Ogre_1_1Vector3a5" doxytag="Ogre::Vector3::Vector3" ></a><p>
332<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
333  <tr>
334    <td class="mdRow">
335      <table cellpadding="0" cellspacing="0" border="0">
336        <tr>
337          <td class="md" nowrap valign="top"> Ogre::Vector3::Vector3 </td>
338          <td class="md" valign="top">(&nbsp;</td>
339          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
340          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
341          <td class="md" valign="top">&nbsp;)&nbsp;</td>
342          <td class="md" nowrap></td>
343        </tr>
344
345      </table>
346    </td>
347  </tr>
348</table>
349<table cellspacing=5 cellpadding=0 border=0>
350  <tr>
351    <td>
352      &nbsp;
353    </td>
354    <td>
355
356<p>
357
358<p>
359Definition at line <a class="el" href="OgreVector3_8h-source.html#l00081">81</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
360  </tr>
361</table>
362<hr><h2>Member Function Documentation</h2>
363<a class="anchor" name="Ogre_1_1Vector3a28" doxytag="Ogre::Vector3::crossProduct" ></a><p>
364<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
365  <tr>
366    <td class="mdRow">
367      <table cellpadding="0" cellspacing="0" border="0">
368        <tr>
369          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::crossProduct </td>
370          <td class="md" valign="top">(&nbsp;</td>
371          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
372          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
373          <td class="md" valign="top">&nbsp;)&nbsp;</td>
374          <td class="md" nowrap> const</td>
375        </tr>
376
377      </table>
378    </td>
379  </tr>
380</table>
381<table cellspacing=5 cellpadding=0 border=0>
382  <tr>
383    <td>
384      &nbsp;
385    </td>
386    <td>
387
388<p>
389Calculates the cross-product of 2 vectors, i.e.
390<p>
391the vector that lies perpendicular to them both. <dl compact><dt><b>Remarks:</b></dt><dd>The cross-product is normally used to calculate the normal vector of a plane, by calculating the cross-product of 2 non-equivalent vectors which lie on the plane (e.g. 2 edges of a triangle). </dd></dl>
392<dl compact><dt><b>Parameters:</b></dt><dd>
393  <table border="0" cellspacing="2" cellpadding="0">
394    <tr><td valign=top><em>vec</em>&nbsp;</td><td>Vector which, together with this one, will be used to calculate the cross-product. </td></tr>
395  </table>
396</dl>
397<dl compact><dt><b>Returns:</b></dt><dd>A vector which is the result of the cross-product. This vector will <b>NOT</b> be normalised, to maximise efficiency<ul>
398<li>call <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a27">Vector3::normalise</a> on the result if you wish this to be done. As for which side the resultant vector will be on, the returned vector will be on the side from which the arc from 'this' to rkVector is anticlockwise, e.g. UNIT_Y.crossProduct(UNIT_Z) = UNIT_X, whilst UNIT_Z.crossProduct(UNIT_Y) = -UNIT_X. </li></ul>
399</dd></dl>
400<dl compact><dt><b></b></dt><dd>For a clearer explanation, look a the left and the bottom edges of your monitor's screen. Assume that the first vector is the left edge and the second vector is the bottom edge, both of them starting from the lower-left corner of the screen. The resulting vector is going to be perpendicular to both of them and will go <em>inside</em> the screen, towards the cathode tube (assuming you're using a CRT monitor, of course). </dd></dl>
401
402<p>
403Definition at line <a class="el" href="OgreVector3_8h-source.html#l00373">373</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
404<p>
405References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.
406<p>
407Referenced by <a class="el" href="OgreVector3_8h-source.html#l00526">getRotationTo()</a>.    </td>
408  </tr>
409</table>
410<a class="anchor" name="Ogre_1_1Vector3a41" doxytag="Ogre::Vector3::directionEquals" ></a><p>
411<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
412  <tr>
413    <td class="mdRow">
414      <table cellpadding="0" cellspacing="0" border="0">
415        <tr>
416          <td class="md" nowrap valign="top"> bool Ogre::Vector3::directionEquals </td>
417          <td class="md" valign="top">(&nbsp;</td>
418          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
419          <td class="mdname" nowrap> <em>rhs</em>, </td>
420        </tr>
421        <tr>
422          <td class="md" nowrap align="right"></td>
423          <td></td>
424          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
425          <td class="mdname" nowrap> <em>tolerance</em></td>
426        </tr>
427        <tr>
428          <td></td>
429          <td class="md">)&nbsp;</td>
430          <td class="md" colspan="2"> const</td>
431        </tr>
432
433      </table>
434    </td>
435  </tr>
436</table>
437<table cellspacing=5 cellpadding=0 border=0>
438  <tr>
439    <td>
440      &nbsp;
441    </td>
442    <td>
443
444<p>
445Returns whether this vector is within a directional tolerance of another vector.
446<p>
447<dl compact><dt><b>Parameters:</b></dt><dd>
448  <table border="0" cellspacing="2" cellpadding="0">
449    <tr><td valign=top><em>rhs</em>&nbsp;</td><td>The vector to compare with </td></tr>
450    <tr><td valign=top><em>tolerance</em>&nbsp;</td><td>The maximum angle by which the vectors may vary and still be considered equal</td></tr>
451  </table>
452</dl>
453
454<p>
455Definition at line <a class="el" href="OgreVector3_8h-source.html#l00612">612</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
456<p>
457References <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>
458  </tr>
459</table>
460<a class="anchor" name="Ogre_1_1Vector3a26" doxytag="Ogre::Vector3::dotProduct" ></a><p>
461<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
462  <tr>
463    <td class="mdRow">
464      <table cellpadding="0" cellspacing="0" border="0">
465        <tr>
466          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Vector3::dotProduct </td>
467          <td class="md" valign="top">(&nbsp;</td>
468          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
469          <td class="mdname1" valign="top" nowrap> <em>vec</em>          </td>
470          <td class="md" valign="top">&nbsp;)&nbsp;</td>
471          <td class="md" nowrap> const</td>
472        </tr>
473
474      </table>
475    </td>
476  </tr>
477</table>
478<table cellspacing=5 cellpadding=0 border=0>
479  <tr>
480    <td>
481      &nbsp;
482    </td>
483    <td>
484
485<p>
486Calculates the dot (scalar) product of this vector with another.
487<p>
488<dl compact><dt><b>Remarks:</b></dt><dd>The dot product can be used to calculate the angle between 2 vectors. If both are unit vectors, the dot product is the cosine of the angle; otherwise the dot product must be divided by the product of the lengths of both vectors to get the cosine of the angle. This result can further be used to calculate the distance of a point from a plane. </dd></dl>
489<dl compact><dt><b>Parameters:</b></dt><dd>
490  <table border="0" cellspacing="2" cellpadding="0">
491    <tr><td valign=top><em>vec</em>&nbsp;</td><td>Vector with which to calculate the dot product (together with this one). </td></tr>
492  </table>
493</dl>
494<dl compact><dt><b>Returns:</b></dt><dd>A float representing the dot product value. </dd></dl>
495
496<p>
497Definition at line <a class="el" href="OgreVector3_8h-source.html#l00316">316</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
498<p>
499References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.
500<p>
501Referenced by <a class="el" href="OgreVector3_8h-source.html#l00526">getRotationTo()</a>.    </td>
502  </tr>
503</table>
504<a class="anchor" name="Ogre_1_1Vector3a36" doxytag="Ogre::Vector3::getRotationTo" ></a><p>
505<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
506  <tr>
507    <td class="mdRow">
508      <table cellpadding="0" cellspacing="0" border="0">
509        <tr>
510          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> Ogre::Vector3::getRotationTo </td>
511          <td class="md" valign="top">(&nbsp;</td>
512          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
513          <td class="mdname1" valign="top" nowrap> <em>dest</em>          </td>
514          <td class="md" valign="top">&nbsp;)&nbsp;</td>
515          <td class="md" nowrap> const</td>
516        </tr>
517
518      </table>
519    </td>
520  </tr>
521</table>
522<table cellspacing=5 cellpadding=0 border=0>
523  <tr>
524    <td>
525      &nbsp;
526    </td>
527    <td>
528
529<p>
530Gets the shortest arc quaternion to rotate this vector to the destination vector.
531<p>
532<dl compact><dt><b>Remarks:</b></dt><dd>Don't call this if you think the dest vector can be close to the inverse of this vector, since then ANY axis of rotation is ok. </dd></dl>
533
534<p>
535Definition at line <a class="el" href="OgreVector3_8h-source.html#l00526">526</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
536<p>
537References <a class="el" href="OgreVector3_8h-source.html#l00373">crossProduct()</a>, <a class="el" href="OgreVector3_8h-source.html#l00316">dotProduct()</a>, <a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaterniona8">Ogre::Quaternion::FromAngleAxis()</a>, <a class="el" href="OgreVector3_8h-source.html#l00569">isZeroLength()</a>, <a class="el" href="OgreVector3_8h-source.html#l00330">normalise()</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, <a class="el" href="OgreQuaternion_8h-source.html#l00200">Ogre::Quaternion::w</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreQuaternion_8h-source.html#l00200">Ogre::Quaternion::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, <a class="el" href="OgreQuaternion_8h-source.html#l00200">Ogre::Quaternion::y</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>, and <a class="el" href="OgreQuaternion_8h-source.html#l00200">Ogre::Quaternion::z</a>.    </td>
538  </tr>
539</table>
540<a class="anchor" name="Ogre_1_1Vector3a37" doxytag="Ogre::Vector3::isZeroLength" ></a><p>
541<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
542  <tr>
543    <td class="mdRow">
544      <table cellpadding="0" cellspacing="0" border="0">
545        <tr>
546          <td class="md" nowrap valign="top"> bool Ogre::Vector3::isZeroLength </td>
547          <td class="md" valign="top">(&nbsp;</td>
548          <td class="md" nowrap valign="top">void&nbsp;</td>
549          <td class="mdname1" valign="top" nowrap>          </td>
550          <td class="md" valign="top">&nbsp;)&nbsp;</td>
551          <td class="md" nowrap> const</td>
552        </tr>
553
554      </table>
555    </td>
556  </tr>
557</table>
558<table cellspacing=5 cellpadding=0 border=0>
559  <tr>
560    <td>
561      &nbsp;
562    </td>
563    <td>
564
565<p>
566Returns true if this vector is zero length.
567<p>
568
569<p>
570Definition at line <a class="el" href="OgreVector3_8h-source.html#l00569">569</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
571<p>
572References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.
573<p>
574Referenced by <a class="el" href="OgreVector3_8h-source.html#l00526">getRotationTo()</a>.    </td>
575  </tr>
576</table>
577<a class="anchor" name="Ogre_1_1Vector3a24" doxytag="Ogre::Vector3::length" ></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="namespaceOgre.html#a420">Real</a> Ogre::Vector3::length </td>
584          <td class="md" valign="top">(&nbsp;</td>
585          <td class="mdname1" valign="top" nowrap>          </td>
586          <td class="md" valign="top">&nbsp;)&nbsp;</td>
587          <td class="md" nowrap> const</td>
588        </tr>
589
590      </table>
591    </td>
592  </tr>
593</table>
594<table cellspacing=5 cellpadding=0 border=0>
595  <tr>
596    <td>
597      &nbsp;
598    </td>
599    <td>
600
601<p>
602Returns the length (magnitude) of the vector.
603<p>
604<dl compact><dt><b>Warning:</b></dt><dd>This operation requires a square root and is expensive in terms of CPU operations. If you don't need to know the exact length (e.g. for just comparing lengths) use <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3a25">squaredLength()</a> instead. </dd></dl>
605
606<p>
607Definition at line <a class="el" href="OgreVector3_8h-source.html#l00282">282</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
608<p>
609References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.
610<p>
611Referenced by <a class="el" href="OgreSphere_8h-source.html#l00070">Ogre::Sphere::intersects()</a>.    </td>
612  </tr>
613</table>
614<a class="anchor" name="Ogre_1_1Vector3a33" doxytag="Ogre::Vector3::makeCeil" ></a><p>
615<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
616  <tr>
617    <td class="mdRow">
618      <table cellpadding="0" cellspacing="0" border="0">
619        <tr>
620          <td class="md" nowrap valign="top"> void Ogre::Vector3::makeCeil </td>
621          <td class="md" valign="top">(&nbsp;</td>
622          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
623          <td class="mdname1" valign="top" nowrap> <em>cmp</em>          </td>
624          <td class="md" valign="top">&nbsp;)&nbsp;</td>
625          <td class="md" nowrap></td>
626        </tr>
627
628      </table>
629    </td>
630  </tr>
631</table>
632<table cellspacing=5 cellpadding=0 border=0>
633  <tr>
634    <td>
635      &nbsp;
636    </td>
637    <td>
638
639<p>
640Sets this vector's components to the maximum of its own and the ones of the passed in vector.
641<p>
642<dl compact><dt><b>Remarks:</b></dt><dd>'Maximum' in this case means the combination of the highest value of x, y and z from both vectors. Highest is taken just numerically, not magnitude, so 1 &gt; -3. </dd></dl>
643
644<p>
645Definition at line <a class="el" href="OgreVector3_8h-source.html#l00436">436</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
646<p>
647References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.
648<p>
649Referenced by <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00221">Ogre::AxisAlignedBox::merge()</a>.    </td>
650  </tr>
651</table>
652<a class="anchor" name="Ogre_1_1Vector3a32" doxytag="Ogre::Vector3::makeFloor" ></a><p>
653<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
654  <tr>
655    <td class="mdRow">
656      <table cellpadding="0" cellspacing="0" border="0">
657        <tr>
658          <td class="md" nowrap valign="top"> void Ogre::Vector3::makeFloor </td>
659          <td class="md" valign="top">(&nbsp;</td>
660          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
661          <td class="mdname1" valign="top" nowrap> <em>cmp</em>          </td>
662          <td class="md" valign="top">&nbsp;)&nbsp;</td>
663          <td class="md" nowrap></td>
664        </tr>
665
666      </table>
667    </td>
668  </tr>
669</table>
670<table cellspacing=5 cellpadding=0 border=0>
671  <tr>
672    <td>
673      &nbsp;
674    </td>
675    <td>
676
677<p>
678Sets this vector's components to the minimum of its own and the ones of the passed in vector.
679<p>
680<dl compact><dt><b>Remarks:</b></dt><dd>'Minimum' in this case means the combination of the lowest value of x, y and z from both vectors. Lowest is taken just numerically, not magnitude, so -1 &lt; 0. </dd></dl>
681
682<p>
683Definition at line <a class="el" href="OgreVector3_8h-source.html#l00422">422</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
684<p>
685References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.
686<p>
687Referenced by <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00221">Ogre::AxisAlignedBox::merge()</a>.    </td>
688  </tr>
689</table>
690<a class="anchor" name="Ogre_1_1Vector3a29" doxytag="Ogre::Vector3::midPoint" ></a><p>
691<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
692  <tr>
693    <td class="mdRow">
694      <table cellpadding="0" cellspacing="0" border="0">
695        <tr>
696          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::midPoint </td>
697          <td class="md" valign="top">(&nbsp;</td>
698          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
699          <td class="mdname1" valign="top" nowrap> <em>vec</em>          </td>
700          <td class="md" valign="top">&nbsp;)&nbsp;</td>
701          <td class="md" nowrap> const</td>
702        </tr>
703
704      </table>
705    </td>
706  </tr>
707</table>
708<table cellspacing=5 cellpadding=0 border=0>
709  <tr>
710    <td>
711      &nbsp;
712    </td>
713    <td>
714
715<p>
716Returns a vector at a point half way between this and the passed in vector.
717<p>
718
719<p>
720Definition at line <a class="el" href="OgreVector3_8h-source.html#l00387">387</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
721<p>
722References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
723  </tr>
724</table>
725<a class="anchor" name="Ogre_1_1Vector3a27" doxytag="Ogre::Vector3::normalise" ></a><p>
726<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
727  <tr>
728    <td class="mdRow">
729      <table cellpadding="0" cellspacing="0" border="0">
730        <tr>
731          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Vector3::normalise </td>
732          <td class="md" valign="top">(&nbsp;</td>
733          <td class="md" nowrap valign="top">void&nbsp;</td>
734          <td class="mdname1" valign="top" nowrap>          </td>
735          <td class="md" valign="top">&nbsp;)&nbsp;</td>
736          <td class="md" nowrap></td>
737        </tr>
738
739      </table>
740    </td>
741  </tr>
742</table>
743<table cellspacing=5 cellpadding=0 border=0>
744  <tr>
745    <td>
746      &nbsp;
747    </td>
748    <td>
749
750<p>
751Normalises the vector.
752<p>
753<dl compact><dt><b>Remarks:</b></dt><dd>This method normalises the vector such that it's length / magnitude is 1. The result is called a unit vector. </dd></dl>
754<dl compact><dt><b>Note:</b></dt><dd>This function will not crash for zero-sized vectors, but there will be no changes made to their components. </dd></dl>
755<dl compact><dt><b>Returns:</b></dt><dd>The previous length of the vector. </dd></dl>
756
757<p>
758Definition at line <a class="el" href="OgreVector3_8h-source.html#l00330">330</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
759<p>
760References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.
761<p>
762Referenced by <a class="el" href="OgreVector3_8h-source.html#l00526">getRotationTo()</a>, and <a class="el" href="OgreVector3_8h-source.html#l00578">normalisedCopy()</a>.    </td>
763  </tr>
764</table>
765<a class="anchor" name="Ogre_1_1Vector3a38" doxytag="Ogre::Vector3::normalisedCopy" ></a><p>
766<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
767  <tr>
768    <td class="mdRow">
769      <table cellpadding="0" cellspacing="0" border="0">
770        <tr>
771          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::normalisedCopy </td>
772          <td class="md" valign="top">(&nbsp;</td>
773          <td class="md" nowrap valign="top">void&nbsp;</td>
774          <td class="mdname1" valign="top" nowrap>          </td>
775          <td class="md" valign="top">&nbsp;)&nbsp;</td>
776          <td class="md" nowrap> const</td>
777        </tr>
778
779      </table>
780    </td>
781  </tr>
782</table>
783<table cellspacing=5 cellpadding=0 border=0>
784  <tr>
785    <td>
786      &nbsp;
787    </td>
788    <td>
789
790<p>
791As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
792<p>
793
794<p>
795Definition at line <a class="el" href="OgreVector3_8h-source.html#l00578">578</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
796<p>
797References <a class="el" href="OgreVector3_8h-source.html#l00330">normalise()</a>.    </td>
798  </tr>
799</table>
800<a class="anchor" name="Ogre_1_1Vector3a14" doxytag="Ogre::Vector3::operator *" ></a><p>
801<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
802  <tr>
803    <td class="mdRow">
804      <table cellpadding="0" cellspacing="0" border="0">
805        <tr>
806          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::operator * </td>
807          <td class="md" valign="top">(&nbsp;</td>
808          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
809          <td class="mdname1" valign="top" nowrap> <em>rhs</em>          </td>
810          <td class="md" valign="top">&nbsp;)&nbsp;</td>
811          <td class="md" nowrap> const</td>
812        </tr>
813
814      </table>
815    </td>
816  </tr>
817</table>
818<table cellspacing=5 cellpadding=0 border=0>
819  <tr>
820    <td>
821      &nbsp;
822    </td>
823    <td>
824
825<p>
826
827<p>
828Definition at line <a class="el" href="OgreVector3_8h-source.html#l00157">157</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
829<p>
830References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
831  </tr>
832</table>
833<a class="anchor" name="Ogre_1_1Vector3a13" doxytag="Ogre::Vector3::operator *" ></a><p>
834<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
835  <tr>
836    <td class="mdRow">
837      <table cellpadding="0" cellspacing="0" border="0">
838        <tr>
839          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::operator * </td>
840          <td class="md" valign="top">(&nbsp;</td>
841          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
842          <td class="mdname1" valign="top" nowrap> <em>fScalar</em>          </td>
843          <td class="md" valign="top">&nbsp;)&nbsp;</td>
844          <td class="md" nowrap> const</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>
859
860<p>
861Definition at line <a class="el" href="OgreVector3_8h-source.html#l00146">146</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
862<p>
863References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
864  </tr>
865</table>
866<a class="anchor" name="Ogre_1_1Vector3a21" doxytag="Ogre::Vector3::operator *=" ></a><p>
867<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
868  <tr>
869    <td class="mdRow">
870      <table cellpadding="0" cellspacing="0" border="0">
871        <tr>
872          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::Vector3::operator *= </td>
873          <td class="md" valign="top">(&nbsp;</td>
874          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
875          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
876          <td class="md" valign="top">&nbsp;)&nbsp;</td>
877          <td class="md" nowrap></td>
878        </tr>
879
880      </table>
881    </td>
882  </tr>
883</table>
884<table cellspacing=5 cellpadding=0 border=0>
885  <tr>
886    <td>
887      &nbsp;
888    </td>
889    <td>
890
891<p>
892
893<p>
894Definition at line <a class="el" href="OgreVector3_8h-source.html#l00243">243</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
895<p>
896References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
897  </tr>
898</table>
899<a class="anchor" name="Ogre_1_1Vector3a20" doxytag="Ogre::Vector3::operator *=" ></a><p>
900<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
901  <tr>
902    <td class="mdRow">
903      <table cellpadding="0" cellspacing="0" border="0">
904        <tr>
905          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::Vector3::operator *= </td>
906          <td class="md" valign="top">(&nbsp;</td>
907          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
908          <td class="mdname1" valign="top" nowrap> <em>fScalar</em>          </td>
909          <td class="md" valign="top">&nbsp;)&nbsp;</td>
910          <td class="md" nowrap></td>
911        </tr>
912
913      </table>
914    </td>
915  </tr>
916</table>
917<table cellspacing=5 cellpadding=0 border=0>
918  <tr>
919    <td>
920      &nbsp;
921    </td>
922    <td>
923
924<p>
925
926<p>
927Definition at line <a class="el" href="OgreVector3_8h-source.html#l00235">235</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
928<p>
929References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
930  </tr>
931</table>
932<a class="anchor" name="Ogre_1_1Vector3a10" doxytag="Ogre::Vector3::operator!=" ></a><p>
933<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
934  <tr>
935    <td class="mdRow">
936      <table cellpadding="0" cellspacing="0" border="0">
937        <tr>
938          <td class="md" nowrap valign="top"> bool Ogre::Vector3::operator!= </td>
939          <td class="md" valign="top">(&nbsp;</td>
940          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
941          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
942          <td class="md" valign="top">&nbsp;)&nbsp;</td>
943          <td class="md" nowrap> const</td>
944        </tr>
945
946      </table>
947    </td>
948  </tr>
949</table>
950<table cellspacing=5 cellpadding=0 border=0>
951  <tr>
952    <td>
953      &nbsp;
954    </td>
955    <td>
956
957<p>
958
959<p>
960Definition at line <a class="el" href="OgreVector3_8h-source.html#l00118">118</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
961<p>
962References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
963  </tr>
964</table>
965<a class="anchor" name="Ogre_1_1Vector3a11" doxytag="Ogre::Vector3::operator+" ></a><p>
966<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
967  <tr>
968    <td class="mdRow">
969      <table cellpadding="0" cellspacing="0" border="0">
970        <tr>
971          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::operator+ </td>
972          <td class="md" valign="top">(&nbsp;</td>
973          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
974          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
975          <td class="md" valign="top">&nbsp;)&nbsp;</td>
976          <td class="md" nowrap> const</td>
977        </tr>
978
979      </table>
980    </td>
981  </tr>
982</table>
983<table cellspacing=5 cellpadding=0 border=0>
984  <tr>
985    <td>
986      &nbsp;
987    </td>
988    <td>
989
990<p>
991
992<p>
993Definition at line <a class="el" href="OgreVector3_8h-source.html#l00124">124</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
994<p>
995References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
996  </tr>
997</table>
998<a class="anchor" name="Ogre_1_1Vector3a18" doxytag="Ogre::Vector3::operator+=" ></a><p>
999<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1000  <tr>
1001    <td class="mdRow">
1002      <table cellpadding="0" cellspacing="0" border="0">
1003        <tr>
1004          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::Vector3::operator+= </td>
1005          <td class="md" valign="top">(&nbsp;</td>
1006          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1007          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
1008          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1009          <td class="md" nowrap></td>
1010        </tr>
1011
1012      </table>
1013    </td>
1014  </tr>
1015</table>
1016<table cellspacing=5 cellpadding=0 border=0>
1017  <tr>
1018    <td>
1019      &nbsp;
1020    </td>
1021    <td>
1022
1023<p>
1024
1025<p>
1026Definition at line <a class="el" href="OgreVector3_8h-source.html#l00217">217</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1027<p>
1028References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1029  </tr>
1030</table>
1031<a class="anchor" name="Ogre_1_1Vector3a17" doxytag="Ogre::Vector3::operator-" ></a><p>
1032<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1033  <tr>
1034    <td class="mdRow">
1035      <table cellpadding="0" cellspacing="0" border="0">
1036        <tr>
1037          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::operator- </td>
1038          <td class="md" valign="top">(&nbsp;</td>
1039          <td class="mdname1" valign="top" nowrap>          </td>
1040          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1041          <td class="md" nowrap> const</td>
1042        </tr>
1043
1044      </table>
1045    </td>
1046  </tr>
1047</table>
1048<table cellspacing=5 cellpadding=0 border=0>
1049  <tr>
1050    <td>
1051      &nbsp;
1052    </td>
1053    <td>
1054
1055<p>
1056
1057<p>
1058Definition at line <a class="el" href="OgreVector3_8h-source.html#l00194">194</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1059<p>
1060References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1061  </tr>
1062</table>
1063<a class="anchor" name="Ogre_1_1Vector3a12" doxytag="Ogre::Vector3::operator-" ></a><p>
1064<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1065  <tr>
1066    <td class="mdRow">
1067      <table cellpadding="0" cellspacing="0" border="0">
1068        <tr>
1069          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::operator- </td>
1070          <td class="md" valign="top">(&nbsp;</td>
1071          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1072          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
1073          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1074          <td class="md" nowrap> const</td>
1075        </tr>
1076
1077      </table>
1078    </td>
1079  </tr>
1080</table>
1081<table cellspacing=5 cellpadding=0 border=0>
1082  <tr>
1083    <td>
1084      &nbsp;
1085    </td>
1086    <td>
1087
1088<p>
1089
1090<p>
1091Definition at line <a class="el" href="OgreVector3_8h-source.html#l00135">135</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1092<p>
1093References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1094  </tr>
1095</table>
1096<a class="anchor" name="Ogre_1_1Vector3a19" doxytag="Ogre::Vector3::operator-=" ></a><p>
1097<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1098  <tr>
1099    <td class="mdRow">
1100      <table cellpadding="0" cellspacing="0" border="0">
1101        <tr>
1102          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::Vector3::operator-= </td>
1103          <td class="md" valign="top">(&nbsp;</td>
1104          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1105          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
1106          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1107          <td class="md" nowrap></td>
1108        </tr>
1109
1110      </table>
1111    </td>
1112  </tr>
1113</table>
1114<table cellspacing=5 cellpadding=0 border=0>
1115  <tr>
1116    <td>
1117      &nbsp;
1118    </td>
1119    <td>
1120
1121<p>
1122
1123<p>
1124Definition at line <a class="el" href="OgreVector3_8h-source.html#l00226">226</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1125<p>
1126References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1127  </tr>
1128</table>
1129<a class="anchor" name="Ogre_1_1Vector3a16" doxytag="Ogre::Vector3::operator/" ></a><p>
1130<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1131  <tr>
1132    <td class="mdRow">
1133      <table cellpadding="0" cellspacing="0" border="0">
1134        <tr>
1135          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::operator/ </td>
1136          <td class="md" valign="top">(&nbsp;</td>
1137          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1138          <td class="mdname1" valign="top" nowrap> <em>rhs</em>          </td>
1139          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1140          <td class="md" nowrap> const</td>
1141        </tr>
1142
1143      </table>
1144    </td>
1145  </tr>
1146</table>
1147<table cellspacing=5 cellpadding=0 border=0>
1148  <tr>
1149    <td>
1150      &nbsp;
1151    </td>
1152    <td>
1153
1154<p>
1155
1156<p>
1157Definition at line <a class="el" href="OgreVector3_8h-source.html#l00182">182</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1158<p>
1159References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1160  </tr>
1161</table>
1162<a class="anchor" name="Ogre_1_1Vector3a15" doxytag="Ogre::Vector3::operator/" ></a><p>
1163<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1164  <tr>
1165    <td class="mdRow">
1166      <table cellpadding="0" cellspacing="0" border="0">
1167        <tr>
1168          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::operator/ </td>
1169          <td class="md" valign="top">(&nbsp;</td>
1170          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1171          <td class="mdname1" valign="top" nowrap> <em>fScalar</em>          </td>
1172          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1173          <td class="md" nowrap> const</td>
1174        </tr>
1175
1176      </table>
1177    </td>
1178  </tr>
1179</table>
1180<table cellspacing=5 cellpadding=0 border=0>
1181  <tr>
1182    <td>
1183      &nbsp;
1184    </td>
1185    <td>
1186
1187<p>
1188
1189<p>
1190Definition at line <a class="el" href="OgreVector3_8h-source.html#l00168">168</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1191<p>
1192References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1193  </tr>
1194</table>
1195<a class="anchor" name="Ogre_1_1Vector3a23" doxytag="Ogre::Vector3::operator/=" ></a><p>
1196<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1197  <tr>
1198    <td class="mdRow">
1199      <table cellpadding="0" cellspacing="0" border="0">
1200        <tr>
1201          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::Vector3::operator/= </td>
1202          <td class="md" valign="top">(&nbsp;</td>
1203          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1204          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
1205          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1206          <td class="md" nowrap></td>
1207        </tr>
1208
1209      </table>
1210    </td>
1211  </tr>
1212</table>
1213<table cellspacing=5 cellpadding=0 border=0>
1214  <tr>
1215    <td>
1216      &nbsp;
1217    </td>
1218    <td>
1219
1220<p>
1221
1222<p>
1223Definition at line <a class="el" href="OgreVector3_8h-source.html#l00265">265</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1224<p>
1225References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1226  </tr>
1227</table>
1228<a class="anchor" name="Ogre_1_1Vector3a22" doxytag="Ogre::Vector3::operator/=" ></a><p>
1229<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1230  <tr>
1231    <td class="mdRow">
1232      <table cellpadding="0" cellspacing="0" border="0">
1233        <tr>
1234          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::Vector3::operator/= </td>
1235          <td class="md" valign="top">(&nbsp;</td>
1236          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1237          <td class="mdname1" valign="top" nowrap> <em>fScalar</em>          </td>
1238          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1239          <td class="md" nowrap></td>
1240        </tr>
1241
1242      </table>
1243    </td>
1244  </tr>
1245</table>
1246<table cellspacing=5 cellpadding=0 border=0>
1247  <tr>
1248    <td>
1249      &nbsp;
1250    </td>
1251    <td>
1252
1253<p>
1254
1255<p>
1256Definition at line <a class="el" href="OgreVector3_8h-source.html#l00252">252</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1257<p>
1258References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1259  </tr>
1260</table>
1261<a class="anchor" name="Ogre_1_1Vector3a30" doxytag="Ogre::Vector3::operator<" ></a><p>
1262<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1263  <tr>
1264    <td class="mdRow">
1265      <table cellpadding="0" cellspacing="0" border="0">
1266        <tr>
1267          <td class="md" nowrap valign="top"> bool Ogre::Vector3::operator&lt; </td>
1268          <td class="md" valign="top">(&nbsp;</td>
1269          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1270          <td class="mdname1" valign="top" nowrap> <em>rhs</em>          </td>
1271          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1272          <td class="md" nowrap> const</td>
1273        </tr>
1274
1275      </table>
1276    </td>
1277  </tr>
1278</table>
1279<table cellspacing=5 cellpadding=0 border=0>
1280  <tr>
1281    <td>
1282      &nbsp;
1283    </td>
1284    <td>
1285
1286<p>
1287Returns true if the vector's scalar components are all greater that the ones of the vector it is compared against.
1288<p>
1289
1290<p>
1291Definition at line <a class="el" href="OgreVector3_8h-source.html#l00398">398</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1292<p>
1293References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1294  </tr>
1295</table>
1296<a class="anchor" name="Ogre_1_1Vector3a8" doxytag="Ogre::Vector3::operator=" ></a><p>
1297<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1298  <tr>
1299    <td class="mdRow">
1300      <table cellpadding="0" cellspacing="0" border="0">
1301        <tr>
1302          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::Vector3::operator= </td>
1303          <td class="md" valign="top">(&nbsp;</td>
1304          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1305          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
1306          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1307          <td class="md" nowrap></td>
1308        </tr>
1309
1310      </table>
1311    </td>
1312  </tr>
1313</table>
1314<table cellspacing=5 cellpadding=0 border=0>
1315  <tr>
1316    <td>
1317      &nbsp;
1318    </td>
1319    <td>
1320
1321<p>
1322Assigns the value of the other vector.
1323<p>
1324<dl compact><dt><b>Parameters:</b></dt><dd>
1325  <table border="0" cellspacing="2" cellpadding="0">
1326    <tr><td valign=top><em>rkVector</em>&nbsp;</td><td>The other vector </td></tr>
1327  </table>
1328</dl>
1329
1330<p>
1331Definition at line <a class="el" href="OgreVector3_8h-source.html#l00104">104</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1332<p>
1333References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1334  </tr>
1335</table>
1336<a class="anchor" name="Ogre_1_1Vector3a9" doxytag="Ogre::Vector3::operator==" ></a><p>
1337<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1338  <tr>
1339    <td class="mdRow">
1340      <table cellpadding="0" cellspacing="0" border="0">
1341        <tr>
1342          <td class="md" nowrap valign="top"> bool Ogre::Vector3::operator== </td>
1343          <td class="md" valign="top">(&nbsp;</td>
1344          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1345          <td class="mdname1" valign="top" nowrap> <em>rkVector</em>          </td>
1346          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1347          <td class="md" nowrap> const</td>
1348        </tr>
1349
1350      </table>
1351    </td>
1352  </tr>
1353</table>
1354<table cellspacing=5 cellpadding=0 border=0>
1355  <tr>
1356    <td>
1357      &nbsp;
1358    </td>
1359    <td>
1360
1361<p>
1362
1363<p>
1364Definition at line <a class="el" href="OgreVector3_8h-source.html#l00113">113</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1365<p>
1366References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1367  </tr>
1368</table>
1369<a class="anchor" name="Ogre_1_1Vector3a31" doxytag="Ogre::Vector3::operator>" ></a><p>
1370<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1371  <tr>
1372    <td class="mdRow">
1373      <table cellpadding="0" cellspacing="0" border="0">
1374        <tr>
1375          <td class="md" nowrap valign="top"> bool Ogre::Vector3::operator&gt; </td>
1376          <td class="md" valign="top">(&nbsp;</td>
1377          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1378          <td class="mdname1" valign="top" nowrap> <em>rhs</em>          </td>
1379          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1380          <td class="md" nowrap> const</td>
1381        </tr>
1382
1383      </table>
1384    </td>
1385  </tr>
1386</table>
1387<table cellspacing=5 cellpadding=0 border=0>
1388  <tr>
1389    <td>
1390      &nbsp;
1391    </td>
1392    <td>
1393
1394<p>
1395Returns true if the vector's scalar components are all smaller that the ones of the vector it is compared against.
1396<p>
1397
1398<p>
1399Definition at line <a class="el" href="OgreVector3_8h-source.html#l00408">408</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1400<p>
1401References <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1402  </tr>
1403</table>
1404<a class="anchor" name="Ogre_1_1Vector3a7" doxytag="Ogre::Vector3::operator[]" ></a><p>
1405<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1406  <tr>
1407    <td class="mdRow">
1408      <table cellpadding="0" cellspacing="0" border="0">
1409        <tr>
1410          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a>&amp; Ogre::Vector3::operator[] </td>
1411          <td class="md" valign="top">(&nbsp;</td>
1412          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1413          <td class="mdname1" valign="top" nowrap> <em>i</em>          </td>
1414          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1415          <td class="md" nowrap></td>
1416        </tr>
1417
1418      </table>
1419    </td>
1420  </tr>
1421</table>
1422<table cellspacing=5 cellpadding=0 border=0>
1423  <tr>
1424    <td>
1425      &nbsp;
1426    </td>
1427    <td>
1428
1429<p>
1430
1431<p>
1432Definition at line <a class="el" href="OgreVector3_8h-source.html#l00093">93</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1433<p>
1434References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1435  </tr>
1436</table>
1437<a class="anchor" name="Ogre_1_1Vector3a6" doxytag="Ogre::Vector3::operator[]" ></a><p>
1438<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1439  <tr>
1440    <td class="mdRow">
1441      <table cellpadding="0" cellspacing="0" border="0">
1442        <tr>
1443          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Vector3::operator[] </td>
1444          <td class="md" valign="top">(&nbsp;</td>
1445          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1446          <td class="mdname1" valign="top" nowrap> <em>i</em>          </td>
1447          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1448          <td class="md" nowrap> const</td>
1449        </tr>
1450
1451      </table>
1452    </td>
1453  </tr>
1454</table>
1455<table cellspacing=5 cellpadding=0 border=0>
1456  <tr>
1457    <td>
1458      &nbsp;
1459    </td>
1460    <td>
1461
1462<p>
1463
1464<p>
1465Definition at line <a class="el" href="OgreVector3_8h-source.html#l00086">86</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1466<p>
1467References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1468  </tr>
1469</table>
1470<a class="anchor" name="Ogre_1_1Vector3a34" doxytag="Ogre::Vector3::perpendicular" ></a><p>
1471<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1472  <tr>
1473    <td class="mdRow">
1474      <table cellpadding="0" cellspacing="0" border="0">
1475        <tr>
1476          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::perpendicular </td>
1477          <td class="md" valign="top">(&nbsp;</td>
1478          <td class="md" nowrap valign="top">void&nbsp;</td>
1479          <td class="mdname1" valign="top" nowrap>          </td>
1480          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1481          <td class="md" nowrap> const</td>
1482        </tr>
1483
1484      </table>
1485    </td>
1486  </tr>
1487</table>
1488<table cellspacing=5 cellpadding=0 border=0>
1489  <tr>
1490    <td>
1491      &nbsp;
1492    </td>
1493    <td>
1494
1495<p>
1496Generates a vector perpendicular to this vector (eg an 'up' vector).
1497<p>
1498<dl compact><dt><b>Remarks:</b></dt><dd>This method will return a vector which is perpendicular to this vector. There are an infinite number of possibilities but this method will guarantee to generate one of them. If you need more control you should use the <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> class. </dd></dl>
1499
1500<p>
1501Definition at line <a class="el" href="OgreVector3_8h-source.html#l00450">450</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1502<p>
1503References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, and <a class="el" href="OgreVector3_8h-source.html#l00297">squaredLength()</a>.    </td>
1504  </tr>
1505</table>
1506<a class="anchor" name="Ogre_1_1Vector3a40" doxytag="Ogre::Vector3::positionEquals" ></a><p>
1507<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1508  <tr>
1509    <td class="mdRow">
1510      <table cellpadding="0" cellspacing="0" border="0">
1511        <tr>
1512          <td class="md" nowrap valign="top"> bool Ogre::Vector3::positionEquals </td>
1513          <td class="md" valign="top">(&nbsp;</td>
1514          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1515          <td class="mdname" nowrap> <em>rhs</em>, </td>
1516        </tr>
1517        <tr>
1518          <td class="md" nowrap align="right"></td>
1519          <td></td>
1520          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1521          <td class="mdname" nowrap> <em>tolerance</em> = 1e-03</td>
1522        </tr>
1523        <tr>
1524          <td></td>
1525          <td class="md">)&nbsp;</td>
1526          <td class="md" colspan="2"> const</td>
1527        </tr>
1528
1529      </table>
1530    </td>
1531  </tr>
1532</table>
1533<table cellspacing=5 cellpadding=0 border=0>
1534  <tr>
1535    <td>
1536      &nbsp;
1537    </td>
1538    <td>
1539
1540<p>
1541Returns whether this vector is within a positional tolerance of another vector.
1542<p>
1543<dl compact><dt><b>Parameters:</b></dt><dd>
1544  <table border="0" cellspacing="2" cellpadding="0">
1545    <tr><td valign=top><em>rhs</em>&nbsp;</td><td>The vector to compare with </td></tr>
1546    <tr><td valign=top><em>tolerance</em>&nbsp;</td><td>The amount that each element of the vector may vary by and still be considered equal</td></tr>
1547  </table>
1548</dl>
1549
1550<p>
1551Definition at line <a class="el" href="OgreVector3_8h-source.html#l00599">599</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1552<p>
1553References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">z</a>.    </td>
1554  </tr>
1555</table>
1556<a class="anchor" name="Ogre_1_1Vector3a35" doxytag="Ogre::Vector3::randomDeviant" ></a><p>
1557<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1558  <tr>
1559    <td class="mdRow">
1560      <table cellpadding="0" cellspacing="0" border="0">
1561        <tr>
1562          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::randomDeviant </td>
1563          <td class="md" valign="top">(&nbsp;</td>
1564          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &amp;&nbsp;</td>
1565          <td class="mdname" nowrap> <em>angle</em>, </td>
1566        </tr>
1567        <tr>
1568          <td class="md" nowrap align="right"></td>
1569          <td></td>
1570          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1571          <td class="mdname" nowrap> <em>up</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a></td>
1572        </tr>
1573        <tr>
1574          <td></td>
1575          <td class="md">)&nbsp;</td>
1576          <td class="md" colspan="2"> const</td>
1577        </tr>
1578
1579      </table>
1580    </td>
1581  </tr>
1582</table>
1583<table cellspacing=5 cellpadding=0 border=0>
1584  <tr>
1585    <td>
1586      &nbsp;
1587    </td>
1588    <td>
1589
1590<p>
1591Generates a new random vector which deviates from this vector by a given angle in a random direction.
1592<p>
1593<dl compact><dt><b>Remarks:</b></dt><dd>This method assumes that the random number generator has already been seeded appropriately. </dd></dl>
1594<dl compact><dt><b>Parameters:</b></dt><dd>
1595  <table border="0" cellspacing="2" cellpadding="0">
1596    <tr><td valign=top><em>angle</em>&nbsp;</td><td>The angle at which to deviate </td></tr>
1597    <tr><td valign=top><em>up</em>&nbsp;</td><td>Any vector perpendicular to this one (which could generated by cross-product of this vector and any other non-colinear vector). If you choose not to provide this the function will derive one on it's own, however if you provide one yourself the function will be faster (this allows you to reuse up vectors if you call this method more than once) </td></tr>
1598  </table>
1599</dl>
1600<dl compact><dt><b>Returns:</b></dt><dd>A random vector which deviates from this vector by angle. This vector will not be normalised, normalise it if you wish afterwards. </dd></dl>
1601
1602<p>
1603Definition at line <a class="el" href="OgreVector3_8h-source.html#l00486">486</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1604<p>
1605References <a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaterniona8">Ogre::Quaternion::FromAngleAxis()</a>.    </td>
1606  </tr>
1607</table>
1608<a class="anchor" name="Ogre_1_1Vector3a39" doxytag="Ogre::Vector3::reflect" ></a><p>
1609<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1610  <tr>
1611    <td class="mdRow">
1612      <table cellpadding="0" cellspacing="0" border="0">
1613        <tr>
1614          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::Vector3::reflect </td>
1615          <td class="md" valign="top">(&nbsp;</td>
1616          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1617          <td class="mdname1" valign="top" nowrap> <em>normal</em>          </td>
1618          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1619          <td class="md" nowrap> const</td>
1620        </tr>
1621
1622      </table>
1623    </td>
1624  </tr>
1625</table>
1626<table cellspacing=5 cellpadding=0 border=0>
1627  <tr>
1628    <td>
1629      &nbsp;
1630    </td>
1631    <td>
1632
1633<p>
1634Calculates a reflection vector to the plane with the given normal .
1635<p>
1636<dl compact><dt><b>Remarks:</b></dt><dd>NB assumes 'this' is pointing AWAY FROM the plane, invert if it is not. </dd></dl>
1637
1638<p>
1639Definition at line <a class="el" href="OgreVector3_8h-source.html#l00588">588</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1640  </tr>
1641</table>
1642<a class="anchor" name="Ogre_1_1Vector3a25" doxytag="Ogre::Vector3::squaredLength" ></a><p>
1643<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1644  <tr>
1645    <td class="mdRow">
1646      <table cellpadding="0" cellspacing="0" border="0">
1647        <tr>
1648          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Vector3::squaredLength </td>
1649          <td class="md" valign="top">(&nbsp;</td>
1650          <td class="mdname1" valign="top" nowrap>          </td>
1651          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1652          <td class="md" nowrap> const</td>
1653        </tr>
1654
1655      </table>
1656    </td>
1657  </tr>
1658</table>
1659<table cellspacing=5 cellpadding=0 border=0>
1660  <tr>
1661    <td>
1662      &nbsp;
1663    </td>
1664    <td>
1665
1666<p>
1667Returns the square of the length(magnitude) of the vector.
1668<p>
1669<dl compact><dt><b>Remarks:</b></dt><dd>This method is for efficiency - calculating the actual length of a vector requires a square root, which is expensive in terms of the operations required. This method returns the square of the length of the vector, i.e. the same as the length but before the square root is taken. Use this if you want to find the longest / shortest vector without incurring the square root. </dd></dl>
1670
1671<p>
1672Definition at line <a class="el" href="OgreVector3_8h-source.html#l00297">297</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1673<p>
1674References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.
1675<p>
1676Referenced by <a class="el" href="OgreVector3_8h-source.html#l00450">perpendicular()</a>.    </td>
1677  </tr>
1678</table>
1679<hr><h2>Friends And Related Function Documentation</h2>
1680<a class="anchor" name="Ogre_1_1Vector3n0" doxytag="Ogre::Vector3::operator *" ></a><p>
1681<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1682  <tr>
1683    <td class="mdRow">
1684      <table cellpadding="0" cellspacing="0" border="0">
1685        <tr>
1686          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> operator * </td>
1687          <td class="md" valign="top">(&nbsp;</td>
1688          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1689          <td class="mdname" nowrap> <em>fScalar</em>, </td>
1690        </tr>
1691        <tr>
1692          <td class="md" nowrap align="right"></td>
1693          <td></td>
1694          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1695          <td class="mdname" nowrap> <em>rkVector</em></td>
1696        </tr>
1697        <tr>
1698          <td></td>
1699          <td class="md">)&nbsp;</td>
1700          <td class="md" colspan="2"><code> [friend]</code></td>
1701        </tr>
1702
1703      </table>
1704    </td>
1705  </tr>
1706</table>
1707<table cellspacing=5 cellpadding=0 border=0>
1708  <tr>
1709    <td>
1710      &nbsp;
1711    </td>
1712    <td>
1713
1714<p>
1715
1716<p>
1717Definition at line <a class="el" href="OgreVector3_8h-source.html#l00205">205</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1718  </tr>
1719</table>
1720<a class="anchor" name="Ogre_1_1Vector3n1" doxytag="Ogre::Vector3::operator<<" ></a><p>
1721<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1722  <tr>
1723    <td class="mdRow">
1724      <table cellpadding="0" cellspacing="0" border="0">
1725        <tr>
1726          <td class="md" nowrap valign="top"> _OgreExport friend std::ostream&amp; operator&lt;&lt; </td>
1727          <td class="md" valign="top">(&nbsp;</td>
1728          <td class="md" nowrap valign="top">std::ostream &amp;&nbsp;</td>
1729          <td class="mdname" nowrap> <em>o</em>, </td>
1730        </tr>
1731        <tr>
1732          <td class="md" nowrap align="right"></td>
1733          <td></td>
1734          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1735          <td class="mdname" nowrap> <em>v</em></td>
1736        </tr>
1737        <tr>
1738          <td></td>
1739          <td class="md">)&nbsp;</td>
1740          <td class="md" colspan="2"><code> [friend]</code></td>
1741        </tr>
1742
1743      </table>
1744    </td>
1745  </tr>
1746</table>
1747<table cellspacing=5 cellpadding=0 border=0>
1748  <tr>
1749    <td>
1750      &nbsp;
1751    </td>
1752    <td>
1753
1754<p>
1755Function for writing to a stream.
1756<p>
1757
1758<p>
1759Definition at line <a class="el" href="OgreVector3_8h-source.html#l00635">635</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1760  </tr>
1761</table>
1762<hr><h2>Member Data Documentation</h2>
1763<a class="anchor" name="Ogre_1_1Vector3s4" doxytag="Ogre::Vector3::NEGATIVE_UNIT_X" ></a><p>
1764<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1765  <tr>
1766    <td class="mdRow">
1767      <table cellpadding="0" cellspacing="0" border="0">
1768        <tr>
1769          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s4">Ogre::Vector3::NEGATIVE_UNIT_X</a><code> [static]</code>
1770      </table>
1771    </td>
1772  </tr>
1773</table>
1774<table cellspacing=5 cellpadding=0 border=0>
1775  <tr>
1776    <td>
1777      &nbsp;
1778    </td>
1779    <td>
1780
1781<p>
1782
1783<p>
1784Definition at line <a class="el" href="OgreVector3_8h-source.html#l00627">627</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1785  </tr>
1786</table>
1787<a class="anchor" name="Ogre_1_1Vector3s5" doxytag="Ogre::Vector3::NEGATIVE_UNIT_Y" ></a><p>
1788<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1789  <tr>
1790    <td class="mdRow">
1791      <table cellpadding="0" cellspacing="0" border="0">
1792        <tr>
1793          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s5">Ogre::Vector3::NEGATIVE_UNIT_Y</a><code> [static]</code>
1794      </table>
1795    </td>
1796  </tr>
1797</table>
1798<table cellspacing=5 cellpadding=0 border=0>
1799  <tr>
1800    <td>
1801      &nbsp;
1802    </td>
1803    <td>
1804
1805<p>
1806
1807<p>
1808Definition at line <a class="el" href="OgreVector3_8h-source.html#l00628">628</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1809  </tr>
1810</table>
1811<a class="anchor" name="Ogre_1_1Vector3s6" doxytag="Ogre::Vector3::NEGATIVE_UNIT_Z" ></a><p>
1812<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1813  <tr>
1814    <td class="mdRow">
1815      <table cellpadding="0" cellspacing="0" border="0">
1816        <tr>
1817          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s6">Ogre::Vector3::NEGATIVE_UNIT_Z</a><code> [static]</code>
1818      </table>
1819    </td>
1820  </tr>
1821</table>
1822<table cellspacing=5 cellpadding=0 border=0>
1823  <tr>
1824    <td>
1825      &nbsp;
1826    </td>
1827    <td>
1828
1829<p>
1830
1831<p>
1832Definition at line <a class="el" href="OgreVector3_8h-source.html#l00629">629</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1833  </tr>
1834</table>
1835<a class="anchor" name="Ogre_1_1Vector3s7" doxytag="Ogre::Vector3::UNIT_SCALE" ></a><p>
1836<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1837  <tr>
1838    <td class="mdRow">
1839      <table cellpadding="0" cellspacing="0" border="0">
1840        <tr>
1841          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s7">Ogre::Vector3::UNIT_SCALE</a><code> [static]</code>
1842      </table>
1843    </td>
1844  </tr>
1845</table>
1846<table cellspacing=5 cellpadding=0 border=0>
1847  <tr>
1848    <td>
1849      &nbsp;
1850    </td>
1851    <td>
1852
1853<p>
1854
1855<p>
1856Definition at line <a class="el" href="OgreVector3_8h-source.html#l00630">630</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1857  </tr>
1858</table>
1859<a class="anchor" name="Ogre_1_1Vector3s1" doxytag="Ogre::Vector3::UNIT_X" ></a><p>
1860<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1861  <tr>
1862    <td class="mdRow">
1863      <table cellpadding="0" cellspacing="0" border="0">
1864        <tr>
1865          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s1">Ogre::Vector3::UNIT_X</a><code> [static]</code>
1866      </table>
1867    </td>
1868  </tr>
1869</table>
1870<table cellspacing=5 cellpadding=0 border=0>
1871  <tr>
1872    <td>
1873      &nbsp;
1874    </td>
1875    <td>
1876
1877<p>
1878
1879<p>
1880Definition at line <a class="el" href="OgreVector3_8h-source.html#l00624">624</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1881  </tr>
1882</table>
1883<a class="anchor" name="Ogre_1_1Vector3s2" doxytag="Ogre::Vector3::UNIT_Y" ></a><p>
1884<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1885  <tr>
1886    <td class="mdRow">
1887      <table cellpadding="0" cellspacing="0" border="0">
1888        <tr>
1889          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s2">Ogre::Vector3::UNIT_Y</a><code> [static]</code>
1890      </table>
1891    </td>
1892  </tr>
1893</table>
1894<table cellspacing=5 cellpadding=0 border=0>
1895  <tr>
1896    <td>
1897      &nbsp;
1898    </td>
1899    <td>
1900
1901<p>
1902
1903<p>
1904Definition at line <a class="el" href="OgreVector3_8h-source.html#l00625">625</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1905  </tr>
1906</table>
1907<a class="anchor" name="Ogre_1_1Vector3s3" doxytag="Ogre::Vector3::UNIT_Z" ></a><p>
1908<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1909  <tr>
1910    <td class="mdRow">
1911      <table cellpadding="0" cellspacing="0" border="0">
1912        <tr>
1913          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s3">Ogre::Vector3::UNIT_Z</a><code> [static]</code>
1914      </table>
1915    </td>
1916  </tr>
1917</table>
1918<table cellspacing=5 cellpadding=0 border=0>
1919  <tr>
1920    <td>
1921      &nbsp;
1922    </td>
1923    <td>
1924
1925<p>
1926
1927<p>
1928Definition at line <a class="el" href="OgreVector3_8h-source.html#l00626">626</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1929  </tr>
1930</table>
1931<a class="anchor" name="Ogre_1_1Vector3o3" doxytag="Ogre::Vector3::val" ></a><p>
1932<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1933  <tr>
1934    <td class="mdRow">
1935      <table cellpadding="0" cellspacing="0" border="0">
1936        <tr>
1937          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3o3">Ogre::Vector3::val</a>[3]
1938      </table>
1939    </td>
1940  </tr>
1941</table>
1942<table cellspacing=5 cellpadding=0 border=0>
1943  <tr>
1944    <td>
1945      &nbsp;
1946    </td>
1947    <td>
1948
1949<p>
1950
1951<p>
1952Definition at line <a class="el" href="OgreVector3_8h-source.html#l00049">49</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
1953  </tr>
1954</table>
1955<a class="anchor" name="Ogre_1_1Vector3o0" doxytag="Ogre::Vector3::x" ></a><p>
1956<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1957  <tr>
1958    <td class="mdRow">
1959      <table cellpadding="0" cellspacing="0" border="0">
1960        <tr>
1961          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3o0">Ogre::Vector3::x</a>
1962      </table>
1963    </td>
1964  </tr>
1965</table>
1966<table cellspacing=5 cellpadding=0 border=0>
1967  <tr>
1968    <td>
1969      &nbsp;
1970    </td>
1971    <td>
1972
1973<p>
1974
1975<p>
1976Definition at line <a class="el" href="OgreVector3_8h-source.html#l00047">47</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
1977<p>
1978Referenced by <a class="el" href="OgreVector3_8h-source.html#l00373">crossProduct()</a>, <a class="el" href="OgreVector3_8h-source.html#l00316">dotProduct()</a>, <a class="el" href="OgreVector3_8h-source.html#l00526">getRotationTo()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00407">Ogre::Matrix4::getScale()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00365">Ogre::Matrix4::getTrans()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00344">Ogre::AxisAlignedBox::intersection()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00317">Ogre::AxisAlignedBox::intersects()</a>, <a class="el" href="OgreVector3_8h-source.html#l00436">makeCeil()</a>, <a class="el" href="OgreVector3_8h-source.html#l00422">makeFloor()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00347">Ogre::Matrix4::makeTrans()</a>, <a class="el" href="OgreVector3_8h-source.html#l00387">midPoint()</a>, <a class="el" href="OgreVector3_8h-source.html#l00146">operator *()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00185">Ogre::Matrix4::operator *()</a>, <a class="el" href="OgreVector3_8h-source.html#l00243">operator *=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00118">operator!=()</a>, <a class="el" href="OgreEdgeListBuilder_8h-source.html#l00195">Ogre::EdgeListBuilder::vectorLess::operator()()</a>, <a class="el" href="OgreVector3_8h-source.html#l00124">operator+()</a>, <a class="el" href="OgreVector3_8h-source.html#l00217">operator+=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00135">operator-()</a>, <a class="el" href="OgreVector3_8h-source.html#l00226">operator-=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00168">operator/()</a>, <a class="el" href="OgreVector3_8h-source.html#l00265">operator/=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00398">operator&lt;()</a>, <a class="el" href="OgreVector4_8h-source.html#l00126">Ogre::Vector4::operator=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00104">operator=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00113">operator==()</a>, <a class="el" href="OgreVector3_8h-source.html#l00408">operator&gt;()</a>, <a class="el" href="OgreVector3_8h-source.html#l00599">positionEquals()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00398">Ogre::Matrix4::setScale()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00330">Ogre::Matrix4::setTrans()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00268">Ogre::AxisAlignedBox::transform()</a>, and <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00386">Ogre::AxisAlignedBox::volume()</a>.    </td>
1979  </tr>
1980</table>
1981<a class="anchor" name="Ogre_1_1Vector3o1" doxytag="Ogre::Vector3::y" ></a><p>
1982<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1983  <tr>
1984    <td class="mdRow">
1985      <table cellpadding="0" cellspacing="0" border="0">
1986        <tr>
1987          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3o1">Ogre::Vector3::y</a>
1988      </table>
1989    </td>
1990  </tr>
1991</table>
1992<table cellspacing=5 cellpadding=0 border=0>
1993  <tr>
1994    <td>
1995      &nbsp;
1996    </td>
1997    <td>
1998
1999<p>
2000
2001<p>
2002Definition at line <a class="el" href="OgreVector3_8h-source.html#l00047">47</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
2003<p>
2004Referenced by <a class="el" href="OgreVector3_8h-source.html#l00373">crossProduct()</a>, <a class="el" href="OgreVector3_8h-source.html#l00316">dotProduct()</a>, <a class="el" href="OgreVector3_8h-source.html#l00526">getRotationTo()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00407">Ogre::Matrix4::getScale()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00365">Ogre::Matrix4::getTrans()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00344">Ogre::AxisAlignedBox::intersection()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00317">Ogre::AxisAlignedBox::intersects()</a>, <a class="el" href="OgreVector3_8h-source.html#l00436">makeCeil()</a>, <a class="el" href="OgreVector3_8h-source.html#l00422">makeFloor()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00347">Ogre::Matrix4::makeTrans()</a>, <a class="el" href="OgreVector3_8h-source.html#l00387">midPoint()</a>, <a class="el" href="OgreVector3_8h-source.html#l00146">operator *()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00185">Ogre::Matrix4::operator *()</a>, <a class="el" href="OgreVector3_8h-source.html#l00243">operator *=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00118">operator!=()</a>, <a class="el" href="OgreEdgeListBuilder_8h-source.html#l00195">Ogre::EdgeListBuilder::vectorLess::operator()()</a>, <a class="el" href="OgreVector3_8h-source.html#l00124">operator+()</a>, <a class="el" href="OgreVector3_8h-source.html#l00217">operator+=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00135">operator-()</a>, <a class="el" href="OgreVector3_8h-source.html#l00226">operator-=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00168">operator/()</a>, <a class="el" href="OgreVector3_8h-source.html#l00265">operator/=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00398">operator&lt;()</a>, <a class="el" href="OgreVector4_8h-source.html#l00126">Ogre::Vector4::operator=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00104">operator=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00113">operator==()</a>, <a class="el" href="OgreVector3_8h-source.html#l00408">operator&gt;()</a>, <a class="el" href="OgreVector3_8h-source.html#l00599">positionEquals()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00398">Ogre::Matrix4::setScale()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00330">Ogre::Matrix4::setTrans()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00268">Ogre::AxisAlignedBox::transform()</a>, and <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00386">Ogre::AxisAlignedBox::volume()</a>.    </td>
2005  </tr>
2006</table>
2007<a class="anchor" name="Ogre_1_1Vector3o2" doxytag="Ogre::Vector3::z" ></a><p>
2008<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2009  <tr>
2010    <td class="mdRow">
2011      <table cellpadding="0" cellspacing="0" border="0">
2012        <tr>
2013          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3o2">Ogre::Vector3::z</a>
2014      </table>
2015    </td>
2016  </tr>
2017</table>
2018<table cellspacing=5 cellpadding=0 border=0>
2019  <tr>
2020    <td>
2021      &nbsp;
2022    </td>
2023    <td>
2024
2025<p>
2026
2027<p>
2028Definition at line <a class="el" href="OgreVector3_8h-source.html#l00047">47</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.
2029<p>
2030Referenced by <a class="el" href="OgreVector3_8h-source.html#l00373">crossProduct()</a>, <a class="el" href="OgreVector3_8h-source.html#l00316">dotProduct()</a>, <a class="el" href="OgreVector3_8h-source.html#l00526">getRotationTo()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00407">Ogre::Matrix4::getScale()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00365">Ogre::Matrix4::getTrans()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00344">Ogre::AxisAlignedBox::intersection()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00317">Ogre::AxisAlignedBox::intersects()</a>, <a class="el" href="OgreVector3_8h-source.html#l00436">makeCeil()</a>, <a class="el" href="OgreVector3_8h-source.html#l00422">makeFloor()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00347">Ogre::Matrix4::makeTrans()</a>, <a class="el" href="OgreVector3_8h-source.html#l00387">midPoint()</a>, <a class="el" href="OgreVector3_8h-source.html#l00146">operator *()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00185">Ogre::Matrix4::operator *()</a>, <a class="el" href="OgreVector3_8h-source.html#l00243">operator *=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00118">operator!=()</a>, <a class="el" href="OgreEdgeListBuilder_8h-source.html#l00195">Ogre::EdgeListBuilder::vectorLess::operator()()</a>, <a class="el" href="OgreVector3_8h-source.html#l00124">operator+()</a>, <a class="el" href="OgreVector3_8h-source.html#l00217">operator+=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00135">operator-()</a>, <a class="el" href="OgreVector3_8h-source.html#l00226">operator-=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00168">operator/()</a>, <a class="el" href="OgreVector3_8h-source.html#l00265">operator/=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00398">operator&lt;()</a>, <a class="el" href="OgreVector4_8h-source.html#l00126">Ogre::Vector4::operator=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00104">operator=()</a>, <a class="el" href="OgreVector3_8h-source.html#l00113">operator==()</a>, <a class="el" href="OgreVector3_8h-source.html#l00408">operator&gt;()</a>, <a class="el" href="OgreVector3_8h-source.html#l00599">positionEquals()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00398">Ogre::Matrix4::setScale()</a>, <a class="el" href="OgreMatrix4_8h-source.html#l00330">Ogre::Matrix4::setTrans()</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00268">Ogre::AxisAlignedBox::transform()</a>, and <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00386">Ogre::AxisAlignedBox::volume()</a>.    </td>
2031  </tr>
2032</table>
2033<a class="anchor" name="Ogre_1_1Vector3s0" doxytag="Ogre::Vector3::ZERO" ></a><p>
2034<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2035  <tr>
2036    <td class="mdRow">
2037      <table cellpadding="0" cellspacing="0" border="0">
2038        <tr>
2039          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Ogre::Vector3::ZERO</a><code> [static]</code>
2040      </table>
2041    </td>
2042  </tr>
2043</table>
2044<table cellspacing=5 cellpadding=0 border=0>
2045  <tr>
2046    <td>
2047      &nbsp;
2048    </td>
2049    <td>
2050
2051<p>
2052
2053<p>
2054Definition at line <a class="el" href="OgreVector3_8h-source.html#l00623">623</a> of file <a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a>.    </td>
2055  </tr>
2056</table>
2057<hr>The documentation for this class was generated from the following file:<ul>
2058<li><a class="el" href="OgreVector3_8h-source.html">OgreVector3.h</a></ul>
2059<hr>
2060<p>
2061Copyright &copy; 2000-2005 by The OGRE Team<br />
2062<!--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/>
2063This 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/>
2064                <!--/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#">
2065                <Work rdf:about="">
2066                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
2067        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
2068                </Work>
2069                <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> -->
2070
2071Last modified Sun Feb 12 13:04:55 2006
2072</p>
2073</body>
2074</html>
Note: See TracBrowser for help on using the repository browser.