\hypertarget{class_ogre_1_1_vector2}{}\section{Ogre\+:\+:Vector2 Class Reference}
\label{class_ogre_1_1_vector2}\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}


Standard 2-\/dimensional vector.  




{\ttfamily \#include $<$Ogre\+Vector2.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_vector2_a54198b2714496715f6f9ec24c1194cad}{Vector2} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vector2_a157950d8cbe0e44a2271479a4f8bcdab}{Vector2} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} fX, const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} fY)
\item 
\hyperlink{class_ogre_1_1_vector2_a1c2a513e68d4e223135a5d891a569501}{Vector2} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} scaler)
\item 
\hyperlink{class_ogre_1_1_vector2_a6f05ab5b82a5dd3f191e388d4a734614}{Vector2} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} af\+Coordinate\mbox{[}2\mbox{]})
\item 
\hyperlink{class_ogre_1_1_vector2_ac04fe07fceec444e2a13b0195bcb2c64}{Vector2} (const int af\+Coordinate\mbox{[}2\mbox{]})
\item 
\hyperlink{class_ogre_1_1_radian}{Ogre\+::\+Radian} \hyperlink{class_ogre_1_1_vector2_aef8560a15e5a88edc1aa8a6aaba9ed7d}{angle\+Between} (const \hyperlink{class_ogre_1_1_vector2}{Ogre\+::\+Vector2} \&other) const
\begin{DoxyCompactList}\small\item\em Gets the angle between 2 vectors. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_radian}{Ogre\+::\+Radian} \hyperlink{class_ogre_1_1_vector2_aa2e40a67f1257344393ffbb28a6363f7}{angle\+To} (const \hyperlink{class_ogre_1_1_vector2}{Ogre\+::\+Vector2} \&other) const
\begin{DoxyCompactList}\small\item\em Gets the oriented angle between 2 vectors. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_a8f52acf41b4766a235c3a91b42af3a00}{cross\+Product} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector) const
\begin{DoxyCompactList}\small\item\em Calculates the 2 dimensional cross-\/product of 2 vectors, which results in a single floating point value which is 2 times the area of the triangle. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_abc1921aa122367a5adc29e274d30dce1}{distance} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs) const
\begin{DoxyCompactList}\small\item\em Returns the distance to another vector. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_ae3b279c8d5c3b4607fbe207cfa482abc}{dot\+Product} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&vec) const
\begin{DoxyCompactList}\small\item\em Calculates the dot (scalar) product of this vector with another. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_vector2_a7371ff3ebc999a9e6e5a4a88fc9ab2bf}{is\+NaN} () const
\begin{DoxyCompactList}\small\item\em Check whether this vector contains valid values. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_vector2_ac94798f39e502767de7f1d43d531acf5}{is\+Zero\+Length} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this vector is zero length. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_a5ab254f7ff686ec09b10986fc9ae3a6f}{length} () const
\begin{DoxyCompactList}\small\item\em Returns the length (magnitude) of the vector. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_vector2_a408be4c5539e93a4272e05249bafe0be}{make\+Ceil} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&cmp)
\begin{DoxyCompactList}\small\item\em Sets this vector\textquotesingle{}s components to the maximum of its own and the ones of the passed in vector. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_vector2_a946495c4a55e1f8048aab6920bf0ac9f}{make\+Floor} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&cmp)
\begin{DoxyCompactList}\small\item\em Sets this vector\textquotesingle{}s components to the minimum of its own and the ones of the passed in vector. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_af2a9c0b40c92439106dc8467ab1ba429}{mid\+Point} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&vec) const
\begin{DoxyCompactList}\small\item\em Returns a vector at a point half way between this and the passed in vector. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_a108e27e1f8c56023377347b661cf067c}{normalise} ()
\begin{DoxyCompactList}\small\item\em Normalises the vector. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a4dfc4f888f19a62dc6099699d0029e72}{normalised\+Copy} (void) const
\begin{DoxyCompactList}\small\item\em As normalise, except that this vector is unaffected and the normalised vector is returned as a copy. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_vector2_aef0f243c22bd30fb8d4025e55cb27cb9}{operator!=} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector) const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_afed45f1d4bb71e1c3344da95dbb1e639}{operator$\ast$} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scalar) const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_ad4dc94a90ea453288d903b1ead472178}{operator$\ast$} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs) const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_aa0e1652d4b655d603334e14174cf176f}{operator$\ast$=} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scalar)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_a04fe4323795bdd2edba14979071cc2a8}{operator$\ast$=} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a273ef9eea3541a91e998399ea3511235}{operator+} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector) const
\item 
const \hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_a3c68a49353e4b52a2df5eef153261df8}{operator+} () const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_aac6485bd52d65876c6d625f0dbbf634b}{operator+=} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_a7d85454520d16e1737be3d79b6950d39}{operator+=} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scaler)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a42fdbb90fb53a06fcdcba4476887fc09}{operator-\/} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector) const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a4e717bf7b508e87e891ffb7c21cd17ca}{operator-\/} () const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_aa4e5a79a3880c71499ea5c6fc3709151}{operator-\/=} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_adb77e6fdba8c5a6a55b6c53f16a2cf5f}{operator-\/=} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scaler)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_adf8076a75a981200c203739a66f0cc87}{operator/} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scalar) const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a5c7b2c591b9d7cf49e14478a17633dd6}{operator/} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs) const
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_a5ee66b093d0a415c57e7918523cabeaf}{operator/=} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scalar)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \& \hyperlink{class_ogre_1_1_vector2_a181745a04b7b95bffc331fd9a4519931}{operator/=} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector)
\item 
bool \hyperlink{class_ogre_1_1_vector2_afb5a4daf7400cc8386614dc412abcd18}{operator$<$} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs) const
\begin{DoxyCompactList}\small\item\em Returns true if the vector\textquotesingle{}s scalar components are all greater that the ones of the vector it is compared against. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_vector2_aa78d036e654ed0522f4cdc103344382b}{operator==} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector) const
\item 
bool \hyperlink{class_ogre_1_1_vector2_a00d70ff0bee759da4dbc4e9ff822a939}{operator$>$} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs) const
\begin{DoxyCompactList}\small\item\em Returns true if the vector\textquotesingle{}s scalar components are all smaller that the ones of the vector it is compared against. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_a61f177be0428338b789459f8a032d730}{operator\mbox{[}$\,$\mbox{]}} (const size\+\_\+t i) const
\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \& \hyperlink{class_ogre_1_1_vector2_aae029eb05f9ab47565e5b47bb2ee9d91}{operator\mbox{[}$\,$\mbox{]}} (const size\+\_\+t i)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a3f57c7209c22fcdf0c60503824b9c760}{perpendicular} (void) const
\begin{DoxyCompactList}\small\item\em Generates a vector perpendicular to this vector (eg an \textquotesingle{}up\textquotesingle{} vector). \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $\ast$ \hyperlink{class_ogre_1_1_vector2_a307ca54d90a1a35b54a5416810681b3a}{ptr} ()
\begin{DoxyCompactList}\small\item\em Pointer accessor for direct copying. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $\ast$ \hyperlink{class_ogre_1_1_vector2_a36ed4552f1110fcacf4765424e646d77}{ptr} () const
\begin{DoxyCompactList}\small\item\em Pointer accessor for direct copying. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a5d03107cd2bb133eaef217a8493cbb56}{random\+Deviant} (\hyperlink{class_ogre_1_1_radian}{Radian} angle) const
\begin{DoxyCompactList}\small\item\em Generates a new random vector which deviates from this vector by a given angle in a random direction. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_ab5e93fe0ce823857964cf96e9bd47043}{reflect} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&normal) const
\begin{DoxyCompactList}\small\item\em Calculates a reflection vector to the plane with the given normal . \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_ac7f5d5c583bb18b5b5e7d54422912752}{squared\+Distance} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs) const
\begin{DoxyCompactList}\small\item\em Returns the square of the distance to another vector. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_a474b8e307428e71d6948ccda972d2c25}{squared\+Length} () const
\begin{DoxyCompactList}\small\item\em Returns the square of the length(magnitude) of the vector. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_af3eb55ba6d289477e9aa52b8de341380}{x}
\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_vector2_ad486a13367b71ce0f4c6782297be9725}{y}
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a52e8d29732eacdeb87d20a3372382590}{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+X}
\item 
static const \hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a95486d3e0b884791be22f16d2bb3a4cb}{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+Y}
\item 
static const \hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a165a67053e61b0733746453ce9ee5edb}{U\+N\+I\+T\+\_\+\+S\+C\+A\+LE}
\item 
static const \hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a1c2d210b2756d07375b0cf9f01835496}{U\+N\+I\+T\+\_\+X}
\item 
static const \hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_ad20c8c58c9345a71743416bad82cb5e3}{U\+N\+I\+T\+\_\+Y}
\item 
static const \hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a70fef72151781ad0174a004a8b6b3acc}{Z\+E\+RO}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a87c0a3be9cc3499973c709dba2982127}{operator$\ast$} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scalar, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a3ffc15c2ad86866acd071c0748126fbb}{operator+} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&lhs, const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} rhs)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a67176f44a1c406e85fe12787373ef377}{operator+} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} lhs, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_aed2661adf58895a08a1b38054d8d5743}{operator-\/} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&lhs, const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} rhs)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a6d976cf52f54a51f4b42ef31c3bede89}{operator-\/} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} lhs, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rhs)
\item 
\hyperlink{class_ogre_1_1_vector2}{Vector2} \hyperlink{class_ogre_1_1_vector2_a51c18bb1a1071f8078084cb968ddb5d2}{operator/} (const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Scalar, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&rk\+Vector)
\item 
std\+::ostream \& \hyperlink{class_ogre_1_1_vector2_a6c8794cdf438f84cdcc1d6776bf3b23b}{operator$<$$<$} (std\+::ostream \&o, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&v)
\begin{DoxyCompactList}\small\item\em Function for writing to a stream. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Standard 2-\/dimensional vector. 

\begin{DoxyRemark}{Remarks}
A direction in 2D space represented as distances along the 2 orthogonal axes (x, y). Note that positions, directions and scaling factors can be represented by a vector, depending on how you interpret the values. 
\end{DoxyRemark}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_vector2_a54198b2714496715f6f9ec24c1194cad}\label{class_ogre_1_1_vector2_a54198b2714496715f6f9ec24c1194cad}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [1/5]}}
{\footnotesize\ttfamily Ogre\+::\+Vector2\+::\+Vector2 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Default constructor. 

\begin{DoxyNote}{Note}
It does {\bfseries N\+OT} initialize the vector for efficiency. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_vector2_a157950d8cbe0e44a2271479a4f8bcdab}\label{class_ogre_1_1_vector2_a157950d8cbe0e44a2271479a4f8bcdab}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [2/5]}}
{\footnotesize\ttfamily Ogre\+::\+Vector2\+::\+Vector2 (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{fX,  }\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{fY }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a1c2a513e68d4e223135a5d891a569501}\label{class_ogre_1_1_vector2_a1c2a513e68d4e223135a5d891a569501}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [3/5]}}
{\footnotesize\ttfamily Ogre\+::\+Vector2\+::\+Vector2 (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{scaler }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a6f05ab5b82a5dd3f191e388d4a734614}\label{class_ogre_1_1_vector2_a6f05ab5b82a5dd3f191e388d4a734614}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [4/5]}}
{\footnotesize\ttfamily Ogre\+::\+Vector2\+::\+Vector2 (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{af\+Coordinate\mbox{[}2\mbox{]} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_ac04fe07fceec444e2a13b0195bcb2c64}\label{class_ogre_1_1_vector2_ac04fe07fceec444e2a13b0195bcb2c64}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [5/5]}}
{\footnotesize\ttfamily Ogre\+::\+Vector2\+::\+Vector2 (\begin{DoxyParamCaption}\item[{const int}]{af\+Coordinate\mbox{[}2\mbox{]} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_vector2_a61f177be0428338b789459f8a032d730}\label{class_ogre_1_1_vector2_a61f177be0428338b789459f8a032d730}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator[]()}{operator[]()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::operator\mbox{[}$\,$\mbox{]} (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{i }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_aae029eb05f9ab47565e5b47bb2ee9d91}\label{class_ogre_1_1_vector2_aae029eb05f9ab47565e5b47bb2ee9d91}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator[]()}{operator[]()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}\& Ogre\+::\+Vector2\+::operator\mbox{[}$\,$\mbox{]} (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{i }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a307ca54d90a1a35b54a5416810681b3a}\label{class_ogre_1_1_vector2_a307ca54d90a1a35b54a5416810681b3a}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!ptr@{ptr}}
\index{ptr@{ptr}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{ptr()}{ptr()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$\ast$ Ogre\+::\+Vector2\+::ptr (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Pointer accessor for direct copying. 



Referenced by Ogre\+::\+R\+T\+Shader\+::\+Uniform\+Parameter\+::set\+Gpu\+Parameter().

\mbox{\Hypertarget{class_ogre_1_1_vector2_a36ed4552f1110fcacf4765424e646d77}\label{class_ogre_1_1_vector2_a36ed4552f1110fcacf4765424e646d77}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!ptr@{ptr}}
\index{ptr@{ptr}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{ptr()}{ptr()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$\ast$ Ogre\+::\+Vector2\+::ptr (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Pointer accessor for direct copying. 

\mbox{\Hypertarget{class_ogre_1_1_vector2_aa78d036e654ed0522f4cdc103344382b}\label{class_ogre_1_1_vector2_aa78d036e654ed0522f4cdc103344382b}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator==@{operator==}}
\index{operator==@{operator==}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator==()}{operator==()}}
{\footnotesize\ttfamily bool Ogre\+::\+Vector2\+::operator== (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_aef0f243c22bd30fb8d4025e55cb27cb9}\label{class_ogre_1_1_vector2_aef0f243c22bd30fb8d4025e55cb27cb9}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator"!=@{operator"!=}}
\index{operator"!=@{operator"!=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator"!=()}{operator!=()}}
{\footnotesize\ttfamily bool Ogre\+::\+Vector2\+::operator!= (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a273ef9eea3541a91e998399ea3511235}\label{class_ogre_1_1_vector2_a273ef9eea3541a91e998399ea3511235}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator+@{operator+}}
\index{operator+@{operator+}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator+()}{operator+()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::operator+ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a42fdbb90fb53a06fcdcba4476887fc09}\label{class_ogre_1_1_vector2_a42fdbb90fb53a06fcdcba4476887fc09}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator-\/()}{operator-()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::operator-\/ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_afed45f1d4bb71e1c3344da95dbb1e639}\label{class_ogre_1_1_vector2_afed45f1d4bb71e1c3344da95dbb1e639}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$\ast$()}{operator*()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::operator$\ast$ (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scalar }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_ad4dc94a90ea453288d903b1ead472178}\label{class_ogre_1_1_vector2_ad4dc94a90ea453288d903b1ead472178}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$\ast$()}{operator*()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::operator$\ast$ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_adf8076a75a981200c203739a66f0cc87}\label{class_ogre_1_1_vector2_adf8076a75a981200c203739a66f0cc87}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator/@{operator/}}
\index{operator/@{operator/}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator/()}{operator/()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::operator/ (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scalar }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a5c7b2c591b9d7cf49e14478a17633dd6}\label{class_ogre_1_1_vector2_a5c7b2c591b9d7cf49e14478a17633dd6}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator/@{operator/}}
\index{operator/@{operator/}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator/()}{operator/()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::operator/ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a3c68a49353e4b52a2df5eef153261df8}\label{class_ogre_1_1_vector2_a3c68a49353e4b52a2df5eef153261df8}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator+@{operator+}}
\index{operator+@{operator+}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator+()}{operator+()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator+ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a4e717bf7b508e87e891ffb7c21cd17ca}\label{class_ogre_1_1_vector2_a4e717bf7b508e87e891ffb7c21cd17ca}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator-\/()}{operator-()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::operator-\/ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_aac6485bd52d65876c6d625f0dbbf634b}\label{class_ogre_1_1_vector2_aac6485bd52d65876c6d625f0dbbf634b}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator+=()}{operator+=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator+= (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a7d85454520d16e1737be3d79b6950d39}\label{class_ogre_1_1_vector2_a7d85454520d16e1737be3d79b6950d39}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator+=()}{operator+=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator+= (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scaler }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_aa4e5a79a3880c71499ea5c6fc3709151}\label{class_ogre_1_1_vector2_aa4e5a79a3880c71499ea5c6fc3709151}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator-\/=()}{operator-=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator-\/= (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_adb77e6fdba8c5a6a55b6c53f16a2cf5f}\label{class_ogre_1_1_vector2_adb77e6fdba8c5a6a55b6c53f16a2cf5f}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator-\/=()}{operator-=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator-\/= (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scaler }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_aa0e1652d4b655d603334e14174cf176f}\label{class_ogre_1_1_vector2_aa0e1652d4b655d603334e14174cf176f}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$\ast$=@{operator$\ast$=}}
\index{operator$\ast$=@{operator$\ast$=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$\ast$=()}{operator*=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator$\ast$= (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scalar }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a04fe4323795bdd2edba14979071cc2a8}\label{class_ogre_1_1_vector2_a04fe4323795bdd2edba14979071cc2a8}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$\ast$=@{operator$\ast$=}}
\index{operator$\ast$=@{operator$\ast$=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$\ast$=()}{operator*=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator$\ast$= (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a5ee66b093d0a415c57e7918523cabeaf}\label{class_ogre_1_1_vector2_a5ee66b093d0a415c57e7918523cabeaf}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator/=@{operator/=}}
\index{operator/=@{operator/=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator/=()}{operator/=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator/= (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scalar }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a181745a04b7b95bffc331fd9a4519931}\label{class_ogre_1_1_vector2_a181745a04b7b95bffc331fd9a4519931}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator/=@{operator/=}}
\index{operator/=@{operator/=}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator/=()}{operator/=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2}\& Ogre\+::\+Vector2\+::operator/= (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a5ab254f7ff686ec09b10986fc9ae3a6f}\label{class_ogre_1_1_vector2_a5ab254f7ff686ec09b10986fc9ae3a6f}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!length@{length}}
\index{length@{length}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{length()}{length()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::length (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the length (magnitude) of the vector. 

\begin{DoxyWarning}{Warning}
This operation requires a square root and is expensive in terms of C\+PU operations. If you don\textquotesingle{}t need to know the exact length (e.\+g. for just comparing lengths) use \hyperlink{class_ogre_1_1_vector2_a474b8e307428e71d6948ccda972d2c25}{squared\+Length()} instead. 
\end{DoxyWarning}


References Ogre\+::\+Math\+::\+Sqrt().



Referenced by angle\+Between().

\mbox{\Hypertarget{class_ogre_1_1_vector2_a474b8e307428e71d6948ccda972d2c25}\label{class_ogre_1_1_vector2_a474b8e307428e71d6948ccda972d2c25}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!squared\+Length@{squared\+Length}}
\index{squared\+Length@{squared\+Length}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{squared\+Length()}{squaredLength()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::squared\+Length (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the square of the length(magnitude) of the vector. 

\begin{DoxyRemark}{Remarks}
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. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_vector2_abc1921aa122367a5adc29e274d30dce1}\label{class_ogre_1_1_vector2_abc1921aa122367a5adc29e274d30dce1}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!distance@{distance}}
\index{distance@{distance}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{distance()}{distance()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::distance (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the distance to another vector. 

\begin{DoxyWarning}{Warning}
This operation requires a square root and is expensive in terms of C\+PU operations. If you don\textquotesingle{}t need to know the exact distance (e.\+g. for just comparing distances) use \hyperlink{class_ogre_1_1_vector2_ac7f5d5c583bb18b5b5e7d54422912752}{squared\+Distance()} instead. 
\end{DoxyWarning}
\mbox{\Hypertarget{class_ogre_1_1_vector2_ac7f5d5c583bb18b5b5e7d54422912752}\label{class_ogre_1_1_vector2_ac7f5d5c583bb18b5b5e7d54422912752}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!squared\+Distance@{squared\+Distance}}
\index{squared\+Distance@{squared\+Distance}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{squared\+Distance()}{squaredDistance()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::squared\+Distance (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the square of the distance to another vector. 

\begin{DoxyRemark}{Remarks}
This method is for efficiency -\/ calculating the actual distance to another vector requires a square root, which is expensive in terms of the operations required. This method returns the square of the distance to another vector, i.\+e. the same as the distance but before the square root is taken. Use this if you want to find the longest / shortest distance without incurring the square root. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_vector2_ae3b279c8d5c3b4607fbe207cfa482abc}\label{class_ogre_1_1_vector2_ae3b279c8d5c3b4607fbe207cfa482abc}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!dot\+Product@{dot\+Product}}
\index{dot\+Product@{dot\+Product}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{dot\+Product()}{dotProduct()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::dot\+Product (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{vec }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Calculates the dot (scalar) product of this vector with another. 

\begin{DoxyRemark}{Remarks}
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. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em vec} & Vector with which to calculate the dot product (together with this one). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A float representing the dot product value. 
\end{DoxyReturn}


References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a108e27e1f8c56023377347b661cf067c}\label{class_ogre_1_1_vector2_a108e27e1f8c56023377347b661cf067c}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!normalise@{normalise}}
\index{normalise@{normalise}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{normalise()}{normalise()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::normalise (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Normalises the vector. 

\begin{DoxyRemark}{Remarks}
This method normalises the vector such that it\textquotesingle{}s length / magnitude is 1. The result is called a unit vector. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
This function will not crash for zero-\/sized vectors, but there will be no changes made to their components. 
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
The previous length of the vector. 
\end{DoxyReturn}


References Ogre\+::\+Math\+::\+Sqrt().



Referenced by normalised\+Copy().

\mbox{\Hypertarget{class_ogre_1_1_vector2_af2a9c0b40c92439106dc8467ab1ba429}\label{class_ogre_1_1_vector2_af2a9c0b40c92439106dc8467ab1ba429}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!mid\+Point@{mid\+Point}}
\index{mid\+Point@{mid\+Point}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{mid\+Point()}{midPoint()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::mid\+Point (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{vec }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns a vector at a point half way between this and the passed in vector. 



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_afb5a4daf7400cc8386614dc412abcd18}\label{class_ogre_1_1_vector2_afb5a4daf7400cc8386614dc412abcd18}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$<$()}{operator<()}}
{\footnotesize\ttfamily bool Ogre\+::\+Vector2\+::operator$<$ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if the vector\textquotesingle{}s scalar components are all greater that the ones of the vector it is compared against. 



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a00d70ff0bee759da4dbc4e9ff822a939}\label{class_ogre_1_1_vector2_a00d70ff0bee759da4dbc4e9ff822a939}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$>$@{operator$>$}}
\index{operator$>$@{operator$>$}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$>$()}{operator>()}}
{\footnotesize\ttfamily bool Ogre\+::\+Vector2\+::operator$>$ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if the vector\textquotesingle{}s scalar components are all smaller that the ones of the vector it is compared against. 



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a946495c4a55e1f8048aab6920bf0ac9f}\label{class_ogre_1_1_vector2_a946495c4a55e1f8048aab6920bf0ac9f}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!make\+Floor@{make\+Floor}}
\index{make\+Floor@{make\+Floor}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{make\+Floor()}{makeFloor()}}
{\footnotesize\ttfamily void Ogre\+::\+Vector2\+::make\+Floor (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{cmp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets this vector\textquotesingle{}s components to the minimum of its own and the ones of the passed in vector. 

\begin{DoxyRemark}{Remarks}
\textquotesingle{}Minimum\textquotesingle{} 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 $<$ 0. 
\end{DoxyRemark}


References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a408be4c5539e93a4272e05249bafe0be}\label{class_ogre_1_1_vector2_a408be4c5539e93a4272e05249bafe0be}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!make\+Ceil@{make\+Ceil}}
\index{make\+Ceil@{make\+Ceil}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{make\+Ceil()}{makeCeil()}}
{\footnotesize\ttfamily void Ogre\+::\+Vector2\+::make\+Ceil (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{cmp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets this vector\textquotesingle{}s components to the maximum of its own and the ones of the passed in vector. 

\begin{DoxyRemark}{Remarks}
\textquotesingle{}Maximum\textquotesingle{} 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 $>$ -\/3. 
\end{DoxyRemark}


References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a3f57c7209c22fcdf0c60503824b9c760}\label{class_ogre_1_1_vector2_a3f57c7209c22fcdf0c60503824b9c760}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!perpendicular@{perpendicular}}
\index{perpendicular@{perpendicular}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{perpendicular()}{perpendicular()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::perpendicular (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Generates a vector perpendicular to this vector (eg an \textquotesingle{}up\textquotesingle{} vector). 

\begin{DoxyRemark}{Remarks}
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 \hyperlink{class_ogre_1_1_quaternion}{Quaternion} class. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_vector2_a8f52acf41b4766a235c3a91b42af3a00}\label{class_ogre_1_1_vector2_a8f52acf41b4766a235c3a91b42af3a00}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!cross\+Product@{cross\+Product}}
\index{cross\+Product@{cross\+Product}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{cross\+Product()}{crossProduct()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::cross\+Product (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Calculates the 2 dimensional cross-\/product of 2 vectors, which results in a single floating point value which is 2 times the area of the triangle. 



References x, and y.

\mbox{\Hypertarget{class_ogre_1_1_vector2_a5d03107cd2bb133eaef217a8493cbb56}\label{class_ogre_1_1_vector2_a5d03107cd2bb133eaef217a8493cbb56}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!random\+Deviant@{random\+Deviant}}
\index{random\+Deviant@{random\+Deviant}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{random\+Deviant()}{randomDeviant()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::random\+Deviant (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_radian}{Radian}}]{angle }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Generates a new random vector which deviates from this vector by a given angle in a random direction. 

\begin{DoxyRemark}{Remarks}
This method assumes that the random number generator has already been seeded appropriately. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em angle} & The angle at which to deviate in radians \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A random vector which deviates from this vector by angle. This vector will not be normalised, normalise it if you wish afterwards. 
\end{DoxyReturn}


References Ogre\+::\+Math\+::\+Cos(), Ogre\+::\+Math\+::\+Range\+Random(), and Ogre\+::\+Math\+::\+Sin().

\mbox{\Hypertarget{class_ogre_1_1_vector2_ac94798f39e502767de7f1d43d531acf5}\label{class_ogre_1_1_vector2_ac94798f39e502767de7f1d43d531acf5}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!is\+Zero\+Length@{is\+Zero\+Length}}
\index{is\+Zero\+Length@{is\+Zero\+Length}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{is\+Zero\+Length()}{isZeroLength()}}
{\footnotesize\ttfamily bool Ogre\+::\+Vector2\+::is\+Zero\+Length (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this vector is zero length. 

\mbox{\Hypertarget{class_ogre_1_1_vector2_a4dfc4f888f19a62dc6099699d0029e72}\label{class_ogre_1_1_vector2_a4dfc4f888f19a62dc6099699d0029e72}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!normalised\+Copy@{normalised\+Copy}}
\index{normalised\+Copy@{normalised\+Copy}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{normalised\+Copy()}{normalisedCopy()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::normalised\+Copy (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



As normalise, except that this vector is unaffected and the normalised vector is returned as a copy. 



References normalise().

\mbox{\Hypertarget{class_ogre_1_1_vector2_ab5e93fe0ce823857964cf96e9bd47043}\label{class_ogre_1_1_vector2_ab5e93fe0ce823857964cf96e9bd47043}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!reflect@{reflect}}
\index{reflect@{reflect}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{reflect()}{reflect()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::reflect (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{normal }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Calculates a reflection vector to the plane with the given normal . 

\begin{DoxyRemark}{Remarks}
NB assumes \textquotesingle{}this\textquotesingle{} is pointing A\+W\+AY F\+R\+OM the plane, invert if it is not. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_vector2_a7371ff3ebc999a9e6e5a4a88fc9ab2bf}\label{class_ogre_1_1_vector2_a7371ff3ebc999a9e6e5a4a88fc9ab2bf}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!is\+NaN@{is\+NaN}}
\index{is\+NaN@{is\+NaN}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{is\+Na\+N()}{isNaN()}}
{\footnotesize\ttfamily bool Ogre\+::\+Vector2\+::is\+NaN (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Check whether this vector contains valid values. 



References Ogre\+::\+Math\+::is\+Na\+N().

\mbox{\Hypertarget{class_ogre_1_1_vector2_aef8560a15e5a88edc1aa8a6aaba9ed7d}\label{class_ogre_1_1_vector2_aef8560a15e5a88edc1aa8a6aaba9ed7d}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!angle\+Between@{angle\+Between}}
\index{angle\+Between@{angle\+Between}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{angle\+Between()}{angleBetween()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_radian}{Ogre\+::\+Radian} Ogre\+::\+Vector2\+::angle\+Between (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Ogre\+::\+Vector2} \&}]{other }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the angle between 2 vectors. 

\begin{DoxyRemark}{Remarks}
Vectors do not have to be unit-\/length but must represent directions. 
\end{DoxyRemark}


References Ogre\+::\+Math\+::\+A\+Cos(), Ogre\+::\+Math\+::\+Clamp(), and length().

\mbox{\Hypertarget{class_ogre_1_1_vector2_aa2e40a67f1257344393ffbb28a6363f7}\label{class_ogre_1_1_vector2_aa2e40a67f1257344393ffbb28a6363f7}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!angle\+To@{angle\+To}}
\index{angle\+To@{angle\+To}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{angle\+To()}{angleTo()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_radian}{Ogre\+::\+Radian} Ogre\+::\+Vector2\+::angle\+To (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Ogre\+::\+Vector2} \&}]{other }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the oriented angle between 2 vectors. 

\begin{DoxyRemark}{Remarks}
Vectors do not have to be unit-\/length but must represent directions. The angle is comprised between 0 and 2 PI. 
\end{DoxyRemark}


References Ogre\+::\+Math\+::\+T\+W\+O\+\_\+\+PI.



\subsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_vector2_a87c0a3be9cc3499973c709dba2982127}\label{class_ogre_1_1_vector2_a87c0a3be9cc3499973c709dba2982127}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$\ast$}{operator*}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} operator$\ast$ (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scalar,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a51c18bb1a1071f8078084cb968ddb5d2}\label{class_ogre_1_1_vector2_a51c18bb1a1071f8078084cb968ddb5d2}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator/@{operator/}}
\index{operator/@{operator/}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator/}{operator/}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} operator/ (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Scalar,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rk\+Vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a3ffc15c2ad86866acd071c0748126fbb}\label{class_ogre_1_1_vector2_a3ffc15c2ad86866acd071c0748126fbb}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator+@{operator+}}
\index{operator+@{operator+}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator+}{operator+}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} operator+ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{lhs,  }\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a67176f44a1c406e85fe12787373ef377}\label{class_ogre_1_1_vector2_a67176f44a1c406e85fe12787373ef377}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator+@{operator+}}
\index{operator+@{operator+}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator+}{operator+}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} operator+ (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{lhs,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_aed2661adf58895a08a1b38054d8d5743}\label{class_ogre_1_1_vector2_aed2661adf58895a08a1b38054d8d5743}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator-\/}{operator-}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} operator-\/ (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{lhs,  }\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a6d976cf52f54a51f4b42ef31c3bede89}\label{class_ogre_1_1_vector2_a6d976cf52f54a51f4b42ef31c3bede89}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator-\/}{operator-}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vector2}{Vector2} operator-\/ (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{lhs,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a6c8794cdf438f84cdcc1d6776bf3b23b}\label{class_ogre_1_1_vector2_a6c8794cdf438f84cdcc1d6776bf3b23b}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{operator$<$$<$}{operator<<}}
{\footnotesize\ttfamily std\+::ostream\& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{o,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}



Function for writing to a stream. 



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_vector2_af3eb55ba6d289477e9aa52b8de341380}\label{class_ogre_1_1_vector2_af3eb55ba6d289477e9aa52b8de341380}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!x@{x}}
\index{x@{x}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{x}{x}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::x}



Referenced by cross\+Product(), dot\+Product(), make\+Ceil(), make\+Floor(), mid\+Point(), operator!=(), operator$\ast$(), operator$\ast$=(), operator+(), operator+=(), operator-\/(), operator-\/=(), operator/(), operator/=(), operator$<$(), operator==(), and operator$>$().

\mbox{\Hypertarget{class_ogre_1_1_vector2_ad486a13367b71ce0f4c6782297be9725}\label{class_ogre_1_1_vector2_ad486a13367b71ce0f4c6782297be9725}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!y@{y}}
\index{y@{y}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{y}{y}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Vector2\+::y}



Referenced by cross\+Product(), dot\+Product(), make\+Ceil(), make\+Floor(), mid\+Point(), operator!=(), operator$\ast$(), operator$\ast$=(), operator+(), operator+=(), operator-\/(), operator-\/=(), operator/(), operator/=(), operator$<$(), operator==(), and operator$>$().

\mbox{\Hypertarget{class_ogre_1_1_vector2_a70fef72151781ad0174a004a8b6b3acc}\label{class_ogre_1_1_vector2_a70fef72151781ad0174a004a8b6b3acc}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!Z\+E\+RO@{Z\+E\+RO}}
\index{Z\+E\+RO@{Z\+E\+RO}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{Z\+E\+RO}{ZERO}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::\+Z\+E\+RO\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a1c2d210b2756d07375b0cf9f01835496}\label{class_ogre_1_1_vector2_a1c2d210b2756d07375b0cf9f01835496}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!U\+N\+I\+T\+\_\+X@{U\+N\+I\+T\+\_\+X}}
\index{U\+N\+I\+T\+\_\+X@{U\+N\+I\+T\+\_\+X}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{U\+N\+I\+T\+\_\+X}{UNIT\_X}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::\+U\+N\+I\+T\+\_\+X\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_ad20c8c58c9345a71743416bad82cb5e3}\label{class_ogre_1_1_vector2_ad20c8c58c9345a71743416bad82cb5e3}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!U\+N\+I\+T\+\_\+Y@{U\+N\+I\+T\+\_\+Y}}
\index{U\+N\+I\+T\+\_\+Y@{U\+N\+I\+T\+\_\+Y}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{U\+N\+I\+T\+\_\+Y}{UNIT\_Y}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::\+U\+N\+I\+T\+\_\+Y\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a52e8d29732eacdeb87d20a3372382590}\label{class_ogre_1_1_vector2_a52e8d29732eacdeb87d20a3372382590}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+X@{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+X}}
\index{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+X@{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+X}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+X}{NEGATIVE\_UNIT\_X}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::\+N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+X\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a95486d3e0b884791be22f16d2bb3a4cb}\label{class_ogre_1_1_vector2_a95486d3e0b884791be22f16d2bb3a4cb}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+Y@{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+Y}}
\index{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+Y@{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+Y}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+Y}{NEGATIVE\_UNIT\_Y}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::\+N\+E\+G\+A\+T\+I\+V\+E\+\_\+\+U\+N\+I\+T\+\_\+Y\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_vector2_a165a67053e61b0733746453ce9ee5edb}\label{class_ogre_1_1_vector2_a165a67053e61b0733746453ce9ee5edb}} 
\index{Ogre\+::\+Vector2@{Ogre\+::\+Vector2}!U\+N\+I\+T\+\_\+\+S\+C\+A\+LE@{U\+N\+I\+T\+\_\+\+S\+C\+A\+LE}}
\index{U\+N\+I\+T\+\_\+\+S\+C\+A\+LE@{U\+N\+I\+T\+\_\+\+S\+C\+A\+LE}!Ogre\+::\+Vector2@{Ogre\+::\+Vector2}}
\subsubsection{\texorpdfstring{U\+N\+I\+T\+\_\+\+S\+C\+A\+LE}{UNIT\_SCALE}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector2}{Vector2} Ogre\+::\+Vector2\+::\+U\+N\+I\+T\+\_\+\+S\+C\+A\+LE\hspace{0.3cm}{\ttfamily [static]}}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_vector2_8h}{Ogre\+Vector2.\+h}\end{DoxyCompactItemize}
