\hypertarget{class_ogre_1_1_math}{}\section{Ogre\+:\+:Math Class Reference}
\label{class_ogre_1_1_math}\index{Ogre\+::\+Math@{Ogre\+::\+Math}}


Class to provide access to common mathematical functions.  




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

\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_ogre_1_1_math_1_1_random_value_provider}{Random\+Value\+Provider}
\begin{DoxyCompactList}\small\item\em This class is used to provide an external random value provider. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}{Angle\+Unit} \{ \hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0aa3cc35278645b4c94a023500eeb06fa5}{A\+U\+\_\+\+D\+E\+G\+R\+EE}, 
\hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0a897ddcfb0c6c6491215f0e3555577eee}{A\+U\+\_\+\+R\+A\+D\+I\+AN}
 \}\begin{DoxyCompactList}\small\item\em The angular units used by the A\+PI. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_math_a4b1c2dbd4ad45996551abeab9cda6dd6}{Math} (unsigned int trig\+Table\+Size=4096)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_math_a48d9d08ae3a9fc24532482c863a0fa01}{$\sim$\+Math} ()
\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ae9e2434f05aed3c19b600af6b48c59b7}{Abs} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Absolute value function. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_degree}{Degree} \hyperlink{class_ogre_1_1_math_a38e4535958eded3cec072af7abb1e181}{Abs} (const \hyperlink{class_ogre_1_1_degree}{Degree} \&d\+Value)
\begin{DoxyCompactList}\small\item\em Absolute value function. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_radian}{Radian} \hyperlink{class_ogre_1_1_math_ae753ba9a2539f155a10709bae58625d5}{Abs} (const \hyperlink{class_ogre_1_1_radian}{Radian} \&r\+Value)
\begin{DoxyCompactList}\small\item\em Absolute value function. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_radian}{Radian} \hyperlink{class_ogre_1_1_math_a53869f3197b0f991aea7f5edf6b620e2}{A\+Cos} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Arc cosine function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a49496b87d555199f1ce163a6027ee17c}{Angle\+Units\+To\+Degrees} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} units)
\begin{DoxyCompactList}\small\item\em Convert from the current Angle\+Unit to degrees. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a0aaca1a9734a5185bb33650ccf625954}{Angle\+Units\+To\+Radians} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} units)
\begin{DoxyCompactList}\small\item\em Convert from the current Angle\+Unit to radians. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_radian}{Radian} \hyperlink{class_ogre_1_1_math_acd5aff5514f5a69799661b26803804c5}{A\+Sin} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Arc sine function. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_radian}{Radian} \hyperlink{class_ogre_1_1_math_a190d852cb22fb1435f0b8ff5ae580553}{A\+Tan} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Arc tangent function. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_radian}{Radian} \hyperlink{class_ogre_1_1_math_a8b1113cd4e7b50d4933bebd39a805348}{A\+Tan2} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} fY, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} fX)
\begin{DoxyCompactList}\small\item\em Arc tangent between two values function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a6beb574317f8085bab69587ef7dc72ed}{bounding\+Radius\+From\+A\+A\+BB} (const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&aabb)
\begin{DoxyCompactList}\small\item\em Get the radius of the origin-\/centered bounding sphere from the bounding box. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a7e988f7561906c49d7610b57c7bfc728}{bounding\+Radius\+From\+A\+A\+B\+B\+Centered} (const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&aabb)
\begin{DoxyCompactList}\small\item\em Get the radius of the bbox-\/centered bounding sphere from the bounding box. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_affine3}{Affine3} \hyperlink{class_ogre_1_1_math_aa339e5bde4dfb3b4cb7e7e47ec998140}{build\+Reflection\+Matrix} (const \hyperlink{class_ogre_1_1_plane}{Plane} \&p)
\begin{DoxyCompactList}\small\item\em Build a reflection matrix for the passed in plane. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_vector3}{Vector3} \hyperlink{class_ogre_1_1_math_af879ed458b9ae7657c892a94f3cf186c}{calculate\+Basic\+Face\+Normal} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v1, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v2, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v3)
\begin{DoxyCompactList}\small\item\em Calculate a face normal, no w-\/information. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_vector3}{Vector3} \hyperlink{class_ogre_1_1_math_a9fc455c22444ef51be81bd1157ec814f}{calculate\+Basic\+Face\+Normal\+Without\+Normalize} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v1, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v2, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v3)
\begin{DoxyCompactList}\small\item\em Calculate a face normal without normalize, no w-\/information. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_vector4}{Vector4} \hyperlink{class_ogre_1_1_math_a44645d1ee1ebb469812e788a6ae17be7}{calculate\+Face\+Normal} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v1, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v2, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v3)
\begin{DoxyCompactList}\small\item\em Calculate a face normal, including the w component which is the offset from the origin. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_vector4}{Vector4} \hyperlink{class_ogre_1_1_math_a76d338baeb1ee4d0664650007d408543}{calculate\+Face\+Normal\+Without\+Normalize} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v1, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v2, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v3)
\begin{DoxyCompactList}\small\item\em Calculate a face normal without normalize, including the w component which is the offset from the origin. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_vector3}{Vector3} \hyperlink{class_ogre_1_1_math_a115235aa59b977879a3b889169c7b0f0}{calculate\+Tangent\+Space\+Vector} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&position1, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&position2, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&position3, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} u1, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} v1, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} u2, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} v2, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} u3, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} v3)
\begin{DoxyCompactList}\small\item\em Calculates the tangent space vector for a given set of positions / texture coords. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_aa75e7aa666b0ef3a847416b5646ca955}{Ceil} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Ceiling function Returns the smallest following integer. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\static T \hyperlink{class_ogre_1_1_math_a0de224c93b57ff8414892d77f9a2d81d}{Clamp} (T val, T minval, T maxval)
\begin{DoxyCompactList}\small\item\em Clamp a value within an inclusive range. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a926ea9552a822969f87939154afd1070}{Cos} (const \hyperlink{class_ogre_1_1_radian}{Radian} \&f\+Value, bool use\+Tables=false)
\begin{DoxyCompactList}\small\item\em Cosine function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a8a67ce762f77625bf62487ff5ea37bc0}{Cos} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value, bool use\+Tables=false)
\begin{DoxyCompactList}\small\item\em Cosine function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a9d7c5024ffb068064eb5194b9484aa87}{Degrees\+To\+Angle\+Units} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} degrees)
\begin{DoxyCompactList}\small\item\em Convert from degrees to the current Angle\+Unit. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ac0fd8176acceb9af5911d15cce14fb50}{Degrees\+To\+Radians} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} degrees)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a34452ad868e46e1c9a6b5202f612b390}{Exp} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_af362f19574a389ad79fbdd628010daad}{Floor} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Floor function Returns the largest previous integer. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a572d6fed0aa293aa6129e3db3605e97c}{gaussian\+Distribution} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} x, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} offset=0.\+0f, Real scale=1.\+0f)
\begin{DoxyCompactList}\small\item\em Generates a value based on the Gaussian (normal) distribution function with the given offset and scale parameters. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}{Angle\+Unit} \hyperlink{class_ogre_1_1_math_a15efa0bc6eff509b83e61bc6f2465dfa}{get\+Angle\+Unit} (void)
\begin{DoxyCompactList}\small\item\em Get the unit being used for angles. \end{DoxyCompactList}\item 
static int \hyperlink{class_ogre_1_1_math_ad9885e718c5559a7acf9f7bb297f41c2}{I\+Abs} (int i\+Value)
\item 
static int \hyperlink{class_ogre_1_1_math_a9adb00fe453393f48e3c58c993a93e4d}{I\+Ceil} (float f\+Value)
\item 
static int \hyperlink{class_ogre_1_1_math_aece40785651ff1ffa963627fb6da64a6}{I\+Floor} (float f\+Value)
\item 
static std\+::pair$<$ bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_math_a11664bfebecca73dbb42c0959d3d9ff7}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const \hyperlink{class_ogre_1_1_plane}{Plane} \&plane)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / plane intersection, returns boolean result and distance. \end{DoxyCompactList}\item 
static std\+::pair$<$ bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_math_a6e32a36e8db6bdbdd201e54e357a1ea6}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const \hyperlink{class_ogre_1_1_sphere}{Sphere} \&sphere, bool discard\+Inside=true)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / sphere intersection, returns boolean result and distance. \end{DoxyCompactList}\item 
static std\+::pair$<$ bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_math_a13db3919682dbb39acaccb88b7892754}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&box)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / box intersection, returns boolean result and distance. \end{DoxyCompactList}\item 
static bool \hyperlink{class_ogre_1_1_math_a6297525bcf134fc00bcf347d0bb15ac0}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&box, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $\ast$d1, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $\ast$d2)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / box intersection, returns boolean result and two intersection distance. \end{DoxyCompactList}\item 
static std\+::pair$<$ bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_math_a0335dcb6040c1d8608c6f15ca145b968}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&a, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&b, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&c, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&normal, bool positive\+Side=true, bool negative\+Side=true)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / triangle intersection, returns boolean result and distance. \end{DoxyCompactList}\item 
static std\+::pair$<$ bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_math_a995546f00c3d58135ca0d4083a466a17}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&a, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&b, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&c, bool positive\+Side=true, bool negative\+Side=true)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / triangle intersection, returns boolean result and distance. \end{DoxyCompactList}\item 
static bool \hyperlink{class_ogre_1_1_math_aceb1ac86a8b0b4762ab0f0c97151f753}{intersects} (const \hyperlink{class_ogre_1_1_sphere}{Sphere} \&sphere, const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&box)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_sphere}{Sphere} / box intersection test. \end{DoxyCompactList}\item 
static bool \hyperlink{class_ogre_1_1_math_abf5be33ecdfafc7414f9dc894652e78f}{intersects} (const \hyperlink{class_ogre_1_1_plane}{Plane} \&plane, const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&box)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_plane}{Plane} / box intersection test. \end{DoxyCompactList}\item 
static std\+::pair$<$ bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_math_ab57cfb450a2cc7474863304e66269949}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const std\+::vector$<$ \hyperlink{class_ogre_1_1_plane}{Plane} $>$ \&plane\+List, bool normal\+Is\+Outside)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / convex plane list intersection test. \end{DoxyCompactList}\item 
static std\+::pair$<$ bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_math_ac235040735be0bae794a2bc113b3ea51}{intersects} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, const std\+::list$<$ \hyperlink{class_ogre_1_1_plane}{Plane} $>$ \&plane\+List, bool normal\+Is\+Outside)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_ray}{Ray} / convex plane list intersection test. \end{DoxyCompactList}\item 
static bool \hyperlink{class_ogre_1_1_math_a0b0f94a3e7f4ecc4feeff1418ac6cc14}{intersects} (const \hyperlink{class_ogre_1_1_sphere}{Sphere} \&sphere, const \hyperlink{class_ogre_1_1_plane}{Plane} \&plane)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_sphere}{Sphere} / plane intersection test. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a4d91be9e4d4f6bb826488f12d70a14f4}{Inv\+Sqrt} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Inverse square root i.\+e. \end{DoxyCompactList}\item 
static int \hyperlink{class_ogre_1_1_math_a8bd528a67c5115c4a806c2bf23111ffe}{I\+Sign} (int i\+Value)
\item 
static bool \hyperlink{class_ogre_1_1_math_a8e299aa79c3a90617cbe764ee977b703}{is\+NaN} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f)
\item 
{\footnotesize template$<$typename V , typename T $>$ }\\static V \hyperlink{class_ogre_1_1_math_aab7bd7f2233826cbfc5f4e2ac51a97d8}{lerp} (const V \&v0, const V \&v1, const T \&t)
\begin{DoxyCompactList}\small\item\em Simulate the shader function lerp which performers linear interpolation. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a09521a106825acbaac711211de57242b}{Log} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ac453f2205d3deb1c29aa9ef806b8a9ec}{Log2} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a34fe16bca3f1e3083a82412079a5fcdf}{LogN} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} base, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\item 
static \hyperlink{class_ogre_1_1_affine3}{Affine3} \hyperlink{class_ogre_1_1_math_a940f61ee807ac6eecda86b300f125bd8}{make\+View\+Matrix} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&position, const \hyperlink{class_ogre_1_1_quaternion}{Quaternion} \&orientation, const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$reflect\+Matrix=0)
\item 
static bool \hyperlink{class_ogre_1_1_math_a2c5d853f3430541b427152b4a1c1229b}{point\+In\+Tri2D} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&p, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&a, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&b, const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&c)
\begin{DoxyCompactList}\small\item\em Checks whether a given point is inside a triangle, in a 2-\/dimensional (Cartesian) space. \end{DoxyCompactList}\item 
static bool \hyperlink{class_ogre_1_1_math_a1d4851d2640e1a9ad98298b8d89351ac}{point\+In\+Tri3D} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&p, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&a, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&b, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&c, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&normal)
\begin{DoxyCompactList}\small\item\em Checks whether a given 3D point is inside a triangle. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ab4038bf12c37a466c025c2de86307a13}{Pow} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Base, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Exponent)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a5bf9a37ed880a35ae569c668b8fc1ffb}{Radians\+To\+Angle\+Units} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} radians)
\begin{DoxyCompactList}\small\item\em Convert from radians to the current Angle\+Unit . \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a771ded9a927aaf2c1a1418a63e816ca8}{Radians\+To\+Degrees} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} radians)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a2de1fc1467a3b402bf435fd48cff356f}{Range\+Random} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Low, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+High)
\begin{DoxyCompactList}\small\item\em Generate a random number within the range provided. \end{DoxyCompactList}\item 
static bool \hyperlink{class_ogre_1_1_math_a890336e0e4b6914024bfefd79c08f432}{Real\+Equal} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} a, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} b, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} tolerance=std\+::numeric\+\_\+limits$<$ \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$\+::epsilon())
\begin{DoxyCompactList}\small\item\em Compare 2 reals, using tolerance for inaccuracies. \end{DoxyCompactList}\item 
static float \hyperlink{class_ogre_1_1_math_a11a5dc9a435892a7b4786f9e1c9b997a}{saturate} (float t)
\begin{DoxyCompactList}\small\item\em Simulate the shader function saturate that clamps a parameter value between 0 and 1. \end{DoxyCompactList}\item 
static double \hyperlink{class_ogre_1_1_math_a1f5796ed99c642a78c8ab2438752d2b0}{saturate} (double t)
\item 
static void \hyperlink{class_ogre_1_1_math_afb791263d1e8508fc75f698a20d96b87}{set\+Angle\+Unit} (\hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}{Angle\+Unit} unit)
\begin{DoxyCompactList}\small\item\em These functions used to set the assumed angle units (radians or degrees) expected when using the \hyperlink{class_ogre_1_1_angle}{Angle} type. \end{DoxyCompactList}\item 
static void \hyperlink{class_ogre_1_1_math_a95f03d27b8c0fc1c7f7b947b3146c581}{Set\+Random\+Value\+Provider} (\hyperlink{class_ogre_1_1_math_1_1_random_value_provider}{Random\+Value\+Provider} $\ast$provider)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a6e0e74db303c82ffa5a1623c14505455}{Sign} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\item 
static \hyperlink{class_ogre_1_1_radian}{Radian} \hyperlink{class_ogre_1_1_math_abfd68b4df9b4745a17342650a80e2544}{Sign} (const \hyperlink{class_ogre_1_1_radian}{Radian} \&r\+Value)
\item 
static \hyperlink{class_ogre_1_1_degree}{Degree} \hyperlink{class_ogre_1_1_math_ad9c0f83ef1988f05bc423ac01f8013c4}{Sign} (const \hyperlink{class_ogre_1_1_degree}{Degree} \&d\+Value)
\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_aa6562b753755c2e21200b7d4479c2dcd}{Sin} (const \hyperlink{class_ogre_1_1_radian}{Radian} \&f\+Value, bool use\+Tables=false)
\begin{DoxyCompactList}\small\item\em Sine function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a87fdeb1d010d7297868125ff624b496d}{Sin} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value, bool use\+Tables=false)
\begin{DoxyCompactList}\small\item\em Sine function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a626ae51af294ae54cee7e1e530937d7e}{Sqr} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Squared function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ab1ee8b71699ce68bd8cf91113ead793e}{Sqrt} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value)
\begin{DoxyCompactList}\small\item\em Square root function. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_radian}{Radian} \hyperlink{class_ogre_1_1_math_a6bd8cafd36d77c6132c8e0d5061bf6d6}{Sqrt} (const \hyperlink{class_ogre_1_1_radian}{Radian} \&f\+Value)
\begin{DoxyCompactList}\small\item\em Square root function. \end{DoxyCompactList}\item 
static \hyperlink{class_ogre_1_1_degree}{Degree} \hyperlink{class_ogre_1_1_math_a0945a29fc442a83685cff2998b02c348}{Sqrt} (const \hyperlink{class_ogre_1_1_degree}{Degree} \&f\+Value)
\begin{DoxyCompactList}\small\item\em Square root function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a800db34eeeedfa6e6f40f003081c4e7e}{Symmetric\+Random} ()
\begin{DoxyCompactList}\small\item\em Generate a random number in the range \mbox{[}-\/1,1\mbox{]}. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a2e48340939157bf5b35dda39cbd717ec}{Tan} (const \hyperlink{class_ogre_1_1_radian}{Radian} \&f\+Value, bool use\+Tables=false)
\begin{DoxyCompactList}\small\item\em Tangent function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ac21236fc284a91e8b9d36929692981cd}{Tan} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} f\+Value, bool use\+Tables=false)
\begin{DoxyCompactList}\small\item\em Tangent function. \end{DoxyCompactList}\item 
static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a17da3bb870f8654628d6f429a144aea1}{Unit\+Random} ()
\begin{DoxyCompactList}\small\item\em Generate a random number of unit length. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ac66bbf7ffd258ae1d0a79bbb8e39a3b2}{f\+Deg2\+Rad}
\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a6b4150f9ea142d15c5913d6505cb6a23}{f\+Rad2\+Deg}
\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a98d6d0e2b5e0c73c17d16ac97d94f939}{H\+A\+L\+F\+\_\+\+PI}
\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_ac2f6916aed097d695a0bffd4ca8a22dd}{L\+O\+G2}
\begin{DoxyCompactList}\small\item\em Stored value of log(2) for frequent use. \end{DoxyCompactList}\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a83fdfd933be03233fc58b80e23740186}{N\+E\+G\+\_\+\+I\+N\+F\+I\+N\+I\+TY}
\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_aee3e908f569f6d83d8359ef0d88a0461}{PI}
\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a96373da6032ed7c1ff668430f89393a6}{P\+O\+S\+\_\+\+I\+N\+F\+I\+N\+I\+TY}
\item 
static const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_math_a58d139439316e19e9142000f1a6bdf6d}{T\+W\+O\+\_\+\+PI}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class to provide access to common mathematical functions. 

\begin{DoxyRemark}{Remarks}
Most of the maths functions are aliased versions of the C runtime library functions. They are aliased here to provide future optimisation opportunities, either from faster R\+T\+Ls or custom math approximations. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
~\newline
This is based on Mgc\+Math.\+h from \href{http://www.geometrictools.com/}{\tt Wild Magic}. 
\end{DoxyNote}


\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}\label{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Angle\+Unit@{Angle\+Unit}}
\index{Angle\+Unit@{Angle\+Unit}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Angle\+Unit}{AngleUnit}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}{Ogre\+::\+Math\+::\+Angle\+Unit}}



The angular units used by the A\+PI. 

This functionality is now deprecated in favor of discreet angular unit types ( see \hyperlink{class_ogre_1_1_degree}{Degree} and \hyperlink{class_ogre_1_1_radian}{Radian} above ). The only place this functionality is actually still used is when parsing files. Search for usage of the \hyperlink{class_ogre_1_1_angle}{Angle} class for those instances \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{A\+U\+\_\+\+D\+E\+G\+R\+EE@{A\+U\+\_\+\+D\+E\+G\+R\+EE}!Ogre\+::\+Math@{Ogre\+::\+Math}}\index{Ogre\+::\+Math@{Ogre\+::\+Math}!A\+U\+\_\+\+D\+E\+G\+R\+EE@{A\+U\+\_\+\+D\+E\+G\+R\+EE}}}\mbox{\Hypertarget{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0aa3cc35278645b4c94a023500eeb06fa5}\label{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0aa3cc35278645b4c94a023500eeb06fa5}} 
A\+U\+\_\+\+D\+E\+G\+R\+EE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{A\+U\+\_\+\+R\+A\+D\+I\+AN@{A\+U\+\_\+\+R\+A\+D\+I\+AN}!Ogre\+::\+Math@{Ogre\+::\+Math}}\index{Ogre\+::\+Math@{Ogre\+::\+Math}!A\+U\+\_\+\+R\+A\+D\+I\+AN@{A\+U\+\_\+\+R\+A\+D\+I\+AN}}}\mbox{\Hypertarget{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0a897ddcfb0c6c6491215f0e3555577eee}\label{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0a897ddcfb0c6c6491215f0e3555577eee}} 
A\+U\+\_\+\+R\+A\+D\+I\+AN&\\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_math_a4b1c2dbd4ad45996551abeab9cda6dd6}\label{class_ogre_1_1_math_a4b1c2dbd4ad45996551abeab9cda6dd6}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Math@{Math}}
\index{Math@{Math}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Math()}{Math()}}
{\footnotesize\ttfamily Ogre\+::\+Math\+::\+Math (\begin{DoxyParamCaption}\item[{unsigned int}]{trig\+Table\+Size = {\ttfamily 4096} }\end{DoxyParamCaption})}



Default constructor. 


\begin{DoxyParams}{Parameters}
{\em trig\+Table\+Size} & Optional parameter to set the size of the tables used to implement Sin, Cos, Tan \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a48d9d08ae3a9fc24532482c863a0fa01}\label{class_ogre_1_1_math_a48d9d08ae3a9fc24532482c863a0fa01}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!````~Math@{$\sim$\+Math}}
\index{````~Math@{$\sim$\+Math}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{$\sim$\+Math()}{~Math()}}
{\footnotesize\ttfamily Ogre\+::\+Math\+::$\sim$\+Math (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Default destructor. 



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_math_ad9885e718c5559a7acf9f7bb297f41c2}\label{class_ogre_1_1_math_ad9885e718c5559a7acf9f7bb297f41c2}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!I\+Abs@{I\+Abs}}
\index{I\+Abs@{I\+Abs}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{I\+Abs()}{IAbs()}}
{\footnotesize\ttfamily static int Ogre\+::\+Math\+::\+I\+Abs (\begin{DoxyParamCaption}\item[{int}]{i\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a9adb00fe453393f48e3c58c993a93e4d}\label{class_ogre_1_1_math_a9adb00fe453393f48e3c58c993a93e4d}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!I\+Ceil@{I\+Ceil}}
\index{I\+Ceil@{I\+Ceil}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{I\+Ceil()}{ICeil()}}
{\footnotesize\ttfamily static int Ogre\+::\+Math\+::\+I\+Ceil (\begin{DoxyParamCaption}\item[{float}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_aece40785651ff1ffa963627fb6da64a6}\label{class_ogre_1_1_math_aece40785651ff1ffa963627fb6da64a6}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!I\+Floor@{I\+Floor}}
\index{I\+Floor@{I\+Floor}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{I\+Floor()}{IFloor()}}
{\footnotesize\ttfamily static int Ogre\+::\+Math\+::\+I\+Floor (\begin{DoxyParamCaption}\item[{float}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a8bd528a67c5115c4a806c2bf23111ffe}\label{class_ogre_1_1_math_a8bd528a67c5115c4a806c2bf23111ffe}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!I\+Sign@{I\+Sign}}
\index{I\+Sign@{I\+Sign}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{I\+Sign()}{ISign()}}
{\footnotesize\ttfamily static int Ogre\+::\+Math\+::\+I\+Sign (\begin{DoxyParamCaption}\item[{int}]{i\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_ae9e2434f05aed3c19b600af6b48c59b7}\label{class_ogre_1_1_math_ae9e2434f05aed3c19b600af6b48c59b7}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Abs@{Abs}}
\index{Abs@{Abs}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Abs()}{Abs()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Abs (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Absolute value function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value whose absolute value will be returned. \\
\hline
\end{DoxyParams}


Referenced by Ogre\+::\+Vector3\+::abs\+Dot\+Product(), Ogre\+::\+Vector3\+::direction\+Equals(), Ogre\+::\+Vector3\+::get\+Rotation\+To(), Ogre\+::\+Volume\+::\+Octree\+Node\+::is\+Iso\+Surface\+Near(), Ogre\+::\+Vector3\+::perpendicular(), Ogre\+::\+Vector3\+::primary\+Axis(), and Ogre\+::\+Axis\+Aligned\+Box\+::transform().

\mbox{\Hypertarget{class_ogre_1_1_math_a38e4535958eded3cec072af7abb1e181}\label{class_ogre_1_1_math_a38e4535958eded3cec072af7abb1e181}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Abs@{Abs}}
\index{Abs@{Abs}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Abs()}{Abs()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_degree}{Degree} Ogre\+::\+Math\+::\+Abs (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_degree}{Degree} \&}]{d\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Absolute value function. 


\begin{DoxyParams}{Parameters}
{\em d\+Value} & The value, in degrees, whose absolute value will be returned. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Degree\+::value\+Degrees().

\mbox{\Hypertarget{class_ogre_1_1_math_ae753ba9a2539f155a10709bae58625d5}\label{class_ogre_1_1_math_ae753ba9a2539f155a10709bae58625d5}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Abs@{Abs}}
\index{Abs@{Abs}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Abs()}{Abs()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_radian}{Radian} Ogre\+::\+Math\+::\+Abs (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_radian}{Radian} \&}]{r\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Absolute value function. 


\begin{DoxyParams}{Parameters}
{\em r\+Value} & The value, in radians, whose absolute value will be returned. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Radian\+::\+Radian(), and Ogre\+::\+Radian\+::value\+Radians().

\mbox{\Hypertarget{class_ogre_1_1_math_a53869f3197b0f991aea7f5edf6b620e2}\label{class_ogre_1_1_math_a53869f3197b0f991aea7f5edf6b620e2}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!A\+Cos@{A\+Cos}}
\index{A\+Cos@{A\+Cos}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{A\+Cos()}{ACos()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_radian}{Radian} Ogre\+::\+Math\+::\+A\+Cos (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Arc cosine function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value whose arc cosine will be returned. \\
\hline
\end{DoxyParams}


Referenced by Ogre\+::\+Vector2\+::angle\+Between(), Ogre\+::\+Vector3\+::angle\+Between(), and Ogre\+::\+Vector3\+::direction\+Equals().

\mbox{\Hypertarget{class_ogre_1_1_math_acd5aff5514f5a69799661b26803804c5}\label{class_ogre_1_1_math_acd5aff5514f5a69799661b26803804c5}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!A\+Sin@{A\+Sin}}
\index{A\+Sin@{A\+Sin}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{A\+Sin()}{ASin()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_radian}{Radian} Ogre\+::\+Math\+::\+A\+Sin (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Arc sine function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value whose arc sine will be returned. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a190d852cb22fb1435f0b8ff5ae580553}\label{class_ogre_1_1_math_a190d852cb22fb1435f0b8ff5ae580553}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!A\+Tan@{A\+Tan}}
\index{A\+Tan@{A\+Tan}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{A\+Tan()}{ATan()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_radian}{Radian} Ogre\+::\+Math\+::\+A\+Tan (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Arc tangent function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value whose arc tangent will be returned. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Radian\+::\+Radian().

\mbox{\Hypertarget{class_ogre_1_1_math_a8b1113cd4e7b50d4933bebd39a805348}\label{class_ogre_1_1_math_a8b1113cd4e7b50d4933bebd39a805348}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!A\+Tan2@{A\+Tan2}}
\index{A\+Tan2@{A\+Tan2}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{A\+Tan2()}{ATan2()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_radian}{Radian} Ogre\+::\+Math\+::\+A\+Tan2 (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{fY,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{fX }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Arc tangent between two values function. 


\begin{DoxyParams}{Parameters}
{\em fY} & The first value to calculate the arc tangent with. \\
\hline
{\em fX} & The second value to calculate the arc tangent with. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Radian\+::\+Radian().

\mbox{\Hypertarget{class_ogre_1_1_math_aa75e7aa666b0ef3a847416b5646ca955}\label{class_ogre_1_1_math_aa75e7aa666b0ef3a847416b5646ca955}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Ceil@{Ceil}}
\index{Ceil@{Ceil}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Ceil()}{Ceil()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Ceil (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Ceiling function Returns the smallest following integer. 

(example\+: Ceil(1.\+1) = 2)


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value to round up to the nearest integer. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a8e299aa79c3a90617cbe764ee977b703}\label{class_ogre_1_1_math_a8e299aa79c3a90617cbe764ee977b703}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!is\+NaN@{is\+NaN}}
\index{is\+NaN@{is\+NaN}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{is\+Na\+N()}{isNaN()}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::is\+NaN (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Referenced by Ogre\+::\+Dual\+Quaternion\+::is\+Na\+N(), Ogre\+::\+Quaternion\+::is\+Na\+N(), Ogre\+::\+Vector4\+::is\+Na\+N(), Ogre\+::\+Vector2\+::is\+Na\+N(), and Ogre\+::\+Vector3\+::is\+Na\+N().

\mbox{\Hypertarget{class_ogre_1_1_math_a926ea9552a822969f87939154afd1070}\label{class_ogre_1_1_math_a926ea9552a822969f87939154afd1070}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Cos@{Cos}}
\index{Cos@{Cos}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Cos()}{Cos()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Cos (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_radian}{Radian} \&}]{f\+Value,  }\item[{bool}]{use\+Tables = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Cosine function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & \hyperlink{class_ogre_1_1_angle}{Angle} in radians \\
\hline
{\em use\+Tables} & If true, uses lookup tables rather than calculation -\/ faster but less accurate. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Radian\+::value\+Radians().



Referenced by Ogre\+::\+Vector2\+::random\+Deviant().

\mbox{\Hypertarget{class_ogre_1_1_math_a8a67ce762f77625bf62487ff5ea37bc0}\label{class_ogre_1_1_math_a8a67ce762f77625bf62487ff5ea37bc0}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Cos@{Cos}}
\index{Cos@{Cos}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Cos()}{Cos()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Cos (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value,  }\item[{bool}]{use\+Tables = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Cosine function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & \hyperlink{class_ogre_1_1_angle}{Angle} in radians \\
\hline
{\em use\+Tables} & If true, uses lookup tables rather than calculation -\/ faster but less accurate. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a34452ad868e46e1c9a6b5202f612b390}\label{class_ogre_1_1_math_a34452ad868e46e1c9a6b5202f612b390}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Exp@{Exp}}
\index{Exp@{Exp}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Exp()}{Exp()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Exp (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_af362f19574a389ad79fbdd628010daad}\label{class_ogre_1_1_math_af362f19574a389ad79fbdd628010daad}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Floor@{Floor}}
\index{Floor@{Floor}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Floor()}{Floor()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Floor (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Floor function Returns the largest previous integer. 

(example\+: Floor(1.\+9) = 1)


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value to round down to the nearest integer. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a09521a106825acbaac711211de57242b}\label{class_ogre_1_1_math_a09521a106825acbaac711211de57242b}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Log@{Log}}
\index{Log@{Log}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Log()}{Log()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Log (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_ac453f2205d3deb1c29aa9ef806b8a9ec}\label{class_ogre_1_1_math_ac453f2205d3deb1c29aa9ef806b8a9ec}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Log2@{Log2}}
\index{Log2@{Log2}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Log2()}{Log2()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Log2 (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a34fe16bca3f1e3083a82412079a5fcdf}\label{class_ogre_1_1_math_a34fe16bca3f1e3083a82412079a5fcdf}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!LogN@{LogN}}
\index{LogN@{LogN}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Log\+N()}{LogN()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+LogN (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{base,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_ab4038bf12c37a466c025c2de86307a13}\label{class_ogre_1_1_math_ab4038bf12c37a466c025c2de86307a13}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Pow@{Pow}}
\index{Pow@{Pow}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Pow()}{Pow()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Pow (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Base,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Exponent }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a6e0e74db303c82ffa5a1623c14505455}\label{class_ogre_1_1_math_a6e0e74db303c82ffa5a1623c14505455}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sign@{Sign}}
\index{Sign@{Sign}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sign()}{Sign()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Sign (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_abfd68b4df9b4745a17342650a80e2544}\label{class_ogre_1_1_math_abfd68b4df9b4745a17342650a80e2544}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sign@{Sign}}
\index{Sign@{Sign}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sign()}{Sign()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_radian}{Radian} Ogre\+::\+Math\+::\+Sign (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_radian}{Radian} \&}]{r\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



References Ogre\+::\+Radian\+::\+Radian(), and Ogre\+::\+Radian\+::value\+Radians().

\mbox{\Hypertarget{class_ogre_1_1_math_ad9c0f83ef1988f05bc423ac01f8013c4}\label{class_ogre_1_1_math_ad9c0f83ef1988f05bc423ac01f8013c4}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sign@{Sign}}
\index{Sign@{Sign}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sign()}{Sign()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_degree}{Degree} Ogre\+::\+Math\+::\+Sign (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_degree}{Degree} \&}]{d\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



References Ogre\+::\+Degree\+::value\+Degrees().

\mbox{\Hypertarget{class_ogre_1_1_math_a11a5dc9a435892a7b4786f9e1c9b997a}\label{class_ogre_1_1_math_a11a5dc9a435892a7b4786f9e1c9b997a}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!saturate@{saturate}}
\index{saturate@{saturate}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{saturate()}{saturate()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily static float Ogre\+::\+Math\+::saturate (\begin{DoxyParamCaption}\item[{float}]{t }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Simulate the shader function saturate that clamps a parameter value between 0 and 1. 

\mbox{\Hypertarget{class_ogre_1_1_math_a1f5796ed99c642a78c8ab2438752d2b0}\label{class_ogre_1_1_math_a1f5796ed99c642a78c8ab2438752d2b0}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!saturate@{saturate}}
\index{saturate@{saturate}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{saturate()}{saturate()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily static double Ogre\+::\+Math\+::saturate (\begin{DoxyParamCaption}\item[{double}]{t }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_aab7bd7f2233826cbfc5f4e2ac51a97d8}\label{class_ogre_1_1_math_aab7bd7f2233826cbfc5f4e2ac51a97d8}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!lerp@{lerp}}
\index{lerp@{lerp}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{lerp()}{lerp()}}
{\footnotesize\ttfamily template$<$typename V , typename T $>$ \\
static V Ogre\+::\+Math\+::lerp (\begin{DoxyParamCaption}\item[{const V \&}]{v0,  }\item[{const V \&}]{v1,  }\item[{const T \&}]{t }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Simulate the shader function lerp which performers linear interpolation. 

given 3 parameters v0, v1 and t the function returns the value of (1 -\/ t)$\ast$ v0 + t $\ast$ v1. where v0 and v1 are matching vector or scalar types and t can be either a scalar or a vector of the same type as a and b. \mbox{\Hypertarget{class_ogre_1_1_math_aa6562b753755c2e21200b7d4479c2dcd}\label{class_ogre_1_1_math_aa6562b753755c2e21200b7d4479c2dcd}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sin@{Sin}}
\index{Sin@{Sin}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sin()}{Sin()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Sin (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_radian}{Radian} \&}]{f\+Value,  }\item[{bool}]{use\+Tables = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Sine function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & \hyperlink{class_ogre_1_1_angle}{Angle} in radians \\
\hline
{\em use\+Tables} & If true, uses lookup tables rather than calculation -\/ faster but less accurate. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Radian\+::value\+Radians().



Referenced by Ogre\+::\+Vector2\+::random\+Deviant().

\mbox{\Hypertarget{class_ogre_1_1_math_a87fdeb1d010d7297868125ff624b496d}\label{class_ogre_1_1_math_a87fdeb1d010d7297868125ff624b496d}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sin@{Sin}}
\index{Sin@{Sin}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sin()}{Sin()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Sin (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value,  }\item[{bool}]{use\+Tables = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Sine function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & \hyperlink{class_ogre_1_1_angle}{Angle} in radians \\
\hline
{\em use\+Tables} & If true, uses lookup tables rather than calculation -\/ faster but less accurate. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a626ae51af294ae54cee7e1e530937d7e}\label{class_ogre_1_1_math_a626ae51af294ae54cee7e1e530937d7e}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sqr@{Sqr}}
\index{Sqr@{Sqr}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sqr()}{Sqr()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Sqr (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Squared function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value to be squared (f\+Value$^\wedge$2) \\
\hline
\end{DoxyParams}


Referenced by Ogre\+::\+Sphere\+::intersects(), and Ogre\+::\+Sphere\+::merge().

\mbox{\Hypertarget{class_ogre_1_1_math_ab1ee8b71699ce68bd8cf91113ead793e}\label{class_ogre_1_1_math_ab1ee8b71699ce68bd8cf91113ead793e}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sqrt@{Sqrt}}
\index{Sqrt@{Sqrt}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sqrt()}{Sqrt()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Sqrt (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Square root function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value whose square root will be calculated. \\
\hline
\end{DoxyParams}


Referenced by Ogre\+::\+Axis\+Aligned\+Box\+::distance(), Ogre\+::\+Vector3\+::get\+Rotation\+To(), Ogre\+::\+Vector2\+::length(), Ogre\+::\+Vector3\+::length(), Ogre\+::\+Sphere\+::merge(), Ogre\+::\+Vector2\+::normalise(), and Ogre\+::\+Vector3\+::normalise().

\mbox{\Hypertarget{class_ogre_1_1_math_a6bd8cafd36d77c6132c8e0d5061bf6d6}\label{class_ogre_1_1_math_a6bd8cafd36d77c6132c8e0d5061bf6d6}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sqrt@{Sqrt}}
\index{Sqrt@{Sqrt}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sqrt()}{Sqrt()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_radian}{Radian} Ogre\+::\+Math\+::\+Sqrt (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_radian}{Radian} \&}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Square root function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value, in radians, whose square root will be calculated. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The square root of the angle in radians. 
\end{DoxyReturn}


References Ogre\+::\+Radian\+::\+Radian(), and Ogre\+::\+Radian\+::value\+Radians().

\mbox{\Hypertarget{class_ogre_1_1_math_a0945a29fc442a83685cff2998b02c348}\label{class_ogre_1_1_math_a0945a29fc442a83685cff2998b02c348}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Sqrt@{Sqrt}}
\index{Sqrt@{Sqrt}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Sqrt()}{Sqrt()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_degree}{Degree} Ogre\+::\+Math\+::\+Sqrt (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_degree}{Degree} \&}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Square root function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value, in degrees, whose square root will be calculated. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The square root of the angle in degrees. 
\end{DoxyReturn}


References Ogre\+::\+Degree\+::value\+Degrees().

\mbox{\Hypertarget{class_ogre_1_1_math_a4d91be9e4d4f6bb826488f12d70a14f4}\label{class_ogre_1_1_math_a4d91be9e4d4f6bb826488f12d70a14f4}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Inv\+Sqrt@{Inv\+Sqrt}}
\index{Inv\+Sqrt@{Inv\+Sqrt}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Inv\+Sqrt()}{InvSqrt()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Inv\+Sqrt (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Inverse square root i.\+e. 

1 / Sqrt(x), good for vector normalisation. 
\begin{DoxyParams}{Parameters}
{\em f\+Value} & The value whose inverse square root will be calculated. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a17da3bb870f8654628d6f429a144aea1}\label{class_ogre_1_1_math_a17da3bb870f8654628d6f429a144aea1}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Unit\+Random@{Unit\+Random}}
\index{Unit\+Random@{Unit\+Random}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Unit\+Random()}{UnitRandom()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Unit\+Random (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Generate a random number of unit length. 

\begin{DoxyReturn}{Returns}
A random number in the range from \mbox{[}0,1\mbox{]}. 
\end{DoxyReturn}


Referenced by Ogre\+::\+Vector3\+::random\+Deviant().

\mbox{\Hypertarget{class_ogre_1_1_math_a2de1fc1467a3b402bf435fd48cff356f}\label{class_ogre_1_1_math_a2de1fc1467a3b402bf435fd48cff356f}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Range\+Random@{Range\+Random}}
\index{Range\+Random@{Range\+Random}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Range\+Random()}{RangeRandom()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Range\+Random (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Low,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+High }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Generate a random number within the range provided. 


\begin{DoxyParams}{Parameters}
{\em f\+Low} & The lower bound of the range. \\
\hline
{\em f\+High} & The upper bound of the range. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A random number in the range from \mbox{[}f\+Low,f\+High\mbox{]}. 
\end{DoxyReturn}


Referenced by Ogre\+::\+Vector2\+::random\+Deviant().

\mbox{\Hypertarget{class_ogre_1_1_math_a800db34eeeedfa6e6f40f003081c4e7e}\label{class_ogre_1_1_math_a800db34eeeedfa6e6f40f003081c4e7e}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Symmetric\+Random@{Symmetric\+Random}}
\index{Symmetric\+Random@{Symmetric\+Random}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Symmetric\+Random()}{SymmetricRandom()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Symmetric\+Random (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Generate a random number in the range \mbox{[}-\/1,1\mbox{]}. 

\begin{DoxyReturn}{Returns}
A random number in the range from \mbox{[}-\/1,1\mbox{]}. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_math_a95f03d27b8c0fc1c7f7b947b3146c581}\label{class_ogre_1_1_math_a95f03d27b8c0fc1c7f7b947b3146c581}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Set\+Random\+Value\+Provider@{Set\+Random\+Value\+Provider}}
\index{Set\+Random\+Value\+Provider@{Set\+Random\+Value\+Provider}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Set\+Random\+Value\+Provider()}{SetRandomValueProvider()}}
{\footnotesize\ttfamily static void Ogre\+::\+Math\+::\+Set\+Random\+Value\+Provider (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_math_1_1_random_value_provider}{Random\+Value\+Provider} $\ast$}]{provider }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a2e48340939157bf5b35dda39cbd717ec}\label{class_ogre_1_1_math_a2e48340939157bf5b35dda39cbd717ec}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Tan@{Tan}}
\index{Tan@{Tan}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Tan()}{Tan()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Tan (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_radian}{Radian} \&}]{f\+Value,  }\item[{bool}]{use\+Tables = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Tangent function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & \hyperlink{class_ogre_1_1_angle}{Angle} in radians \\
\hline
{\em use\+Tables} & If true, uses lookup tables rather than calculation -\/ faster but less accurate. \\
\hline
\end{DoxyParams}


References Ogre\+::\+Radian\+::value\+Radians().

\mbox{\Hypertarget{class_ogre_1_1_math_ac21236fc284a91e8b9d36929692981cd}\label{class_ogre_1_1_math_ac21236fc284a91e8b9d36929692981cd}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Tan@{Tan}}
\index{Tan@{Tan}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Tan()}{Tan()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Tan (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{f\+Value,  }\item[{bool}]{use\+Tables = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Tangent function. 


\begin{DoxyParams}{Parameters}
{\em f\+Value} & \hyperlink{class_ogre_1_1_angle}{Angle} in radians \\
\hline
{\em use\+Tables} & If true, uses lookup tables rather than calculation -\/ faster but less accurate. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_ac0fd8176acceb9af5911d15cce14fb50}\label{class_ogre_1_1_math_ac0fd8176acceb9af5911d15cce14fb50}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Degrees\+To\+Radians@{Degrees\+To\+Radians}}
\index{Degrees\+To\+Radians@{Degrees\+To\+Radians}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Degrees\+To\+Radians()}{DegreesToRadians()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Degrees\+To\+Radians (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{degrees }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Referenced by Ogre\+::\+Degree\+::value\+Radians().

\mbox{\Hypertarget{class_ogre_1_1_math_a771ded9a927aaf2c1a1418a63e816ca8}\label{class_ogre_1_1_math_a771ded9a927aaf2c1a1418a63e816ca8}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Radians\+To\+Degrees@{Radians\+To\+Degrees}}
\index{Radians\+To\+Degrees@{Radians\+To\+Degrees}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Radians\+To\+Degrees()}{RadiansToDegrees()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Radians\+To\+Degrees (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{radians }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Referenced by Ogre\+::\+Radian\+::value\+Degrees().

\mbox{\Hypertarget{class_ogre_1_1_math_afb791263d1e8508fc75f698a20d96b87}\label{class_ogre_1_1_math_afb791263d1e8508fc75f698a20d96b87}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!set\+Angle\+Unit@{set\+Angle\+Unit}}
\index{set\+Angle\+Unit@{set\+Angle\+Unit}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{set\+Angle\+Unit()}{setAngleUnit()}}
{\footnotesize\ttfamily static void Ogre\+::\+Math\+::set\+Angle\+Unit (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}{Angle\+Unit}}]{unit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



These functions used to set the assumed angle units (radians or degrees) expected when using the \hyperlink{class_ogre_1_1_angle}{Angle} type. 

\begin{DoxyParagraph}{}
You can set this directly after creating a new \hyperlink{class_ogre_1_1_root}{Root}, and also before/after resource creation, depending on whether you want the change to affect resource files. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_math_a15efa0bc6eff509b83e61bc6f2465dfa}\label{class_ogre_1_1_math_a15efa0bc6eff509b83e61bc6f2465dfa}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!get\+Angle\+Unit@{get\+Angle\+Unit}}
\index{get\+Angle\+Unit@{get\+Angle\+Unit}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{get\+Angle\+Unit()}{getAngleUnit()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_math_ac8fd1d7167271f824e0210c29ee45ff0}{Angle\+Unit} Ogre\+::\+Math\+::get\+Angle\+Unit (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the unit being used for angles. 

\mbox{\Hypertarget{class_ogre_1_1_math_a0aaca1a9734a5185bb33650ccf625954}\label{class_ogre_1_1_math_a0aaca1a9734a5185bb33650ccf625954}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Angle\+Units\+To\+Radians@{Angle\+Units\+To\+Radians}}
\index{Angle\+Units\+To\+Radians@{Angle\+Units\+To\+Radians}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Angle\+Units\+To\+Radians()}{AngleUnitsToRadians()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Angle\+Units\+To\+Radians (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{units }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert from the current Angle\+Unit to radians. 



Referenced by Ogre\+::\+Angle\+::operator Radian().

\mbox{\Hypertarget{class_ogre_1_1_math_a5bf9a37ed880a35ae569c668b8fc1ffb}\label{class_ogre_1_1_math_a5bf9a37ed880a35ae569c668b8fc1ffb}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Radians\+To\+Angle\+Units@{Radians\+To\+Angle\+Units}}
\index{Radians\+To\+Angle\+Units@{Radians\+To\+Angle\+Units}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Radians\+To\+Angle\+Units()}{RadiansToAngleUnits()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Radians\+To\+Angle\+Units (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{radians }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert from radians to the current Angle\+Unit . 



Referenced by Ogre\+::\+Radian\+::value\+Angle\+Units().

\mbox{\Hypertarget{class_ogre_1_1_math_a49496b87d555199f1ce163a6027ee17c}\label{class_ogre_1_1_math_a49496b87d555199f1ce163a6027ee17c}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Angle\+Units\+To\+Degrees@{Angle\+Units\+To\+Degrees}}
\index{Angle\+Units\+To\+Degrees@{Angle\+Units\+To\+Degrees}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Angle\+Units\+To\+Degrees()}{AngleUnitsToDegrees()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Angle\+Units\+To\+Degrees (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{units }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert from the current Angle\+Unit to degrees. 



Referenced by Ogre\+::\+Angle\+::operator Degree().

\mbox{\Hypertarget{class_ogre_1_1_math_a9d7c5024ffb068064eb5194b9484aa87}\label{class_ogre_1_1_math_a9d7c5024ffb068064eb5194b9484aa87}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Degrees\+To\+Angle\+Units@{Degrees\+To\+Angle\+Units}}
\index{Degrees\+To\+Angle\+Units@{Degrees\+To\+Angle\+Units}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Degrees\+To\+Angle\+Units()}{DegreesToAngleUnits()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+Degrees\+To\+Angle\+Units (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{degrees }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert from degrees to the current Angle\+Unit. 



Referenced by Ogre\+::\+Degree\+::value\+Angle\+Units().

\mbox{\Hypertarget{class_ogre_1_1_math_a2c5d853f3430541b427152b4a1c1229b}\label{class_ogre_1_1_math_a2c5d853f3430541b427152b4a1c1229b}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!point\+In\+Tri2D@{point\+In\+Tri2D}}
\index{point\+In\+Tri2D@{point\+In\+Tri2D}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{point\+In\+Tri2\+D()}{pointInTri2D()}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::point\+In\+Tri2D (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{p,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{a,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{b,  }\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Checks whether a given point is inside a triangle, in a 2-\/dimensional (Cartesian) space. 

\begin{DoxyRemark}{Remarks}
The vertices of the triangle must be given in either trigonometrical (anticlockwise) or inverse trigonometrical (clockwise) order. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em p} & The point. \\
\hline
{\em a} & The triangle\textquotesingle{}s first vertex. \\
\hline
{\em b} & The triangle\textquotesingle{}s second vertex. \\
\hline
{\em c} & The triangle\textquotesingle{}s third vertex. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the point resides in the triangle, {\bfseries true} is returned. 
\end{DoxyReturn}
\begin{DoxyParagraph}{}
If the point is outside the triangle, {\bfseries false} is returned. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_math_a1d4851d2640e1a9ad98298b8d89351ac}\label{class_ogre_1_1_math_a1d4851d2640e1a9ad98298b8d89351ac}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!point\+In\+Tri3D@{point\+In\+Tri3D}}
\index{point\+In\+Tri3D@{point\+In\+Tri3D}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{point\+In\+Tri3\+D()}{pointInTri3D()}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::point\+In\+Tri3D (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{p,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{a,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{b,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{c,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{normal }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Checks whether a given 3D point is inside a triangle. 

\begin{DoxyRemark}{Remarks}
The vertices of the triangle must be given in either trigonometrical (anticlockwise) or inverse trigonometrical (clockwise) order, and the point must be guaranteed to be in the same plane as the triangle 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em p} & p The point. \\
\hline
{\em a} & The triangle\textquotesingle{}s first vertex. \\
\hline
{\em b} & The triangle\textquotesingle{}s second vertex. \\
\hline
{\em c} & The triangle\textquotesingle{}s third vertex. \\
\hline
{\em normal} & The triangle plane\textquotesingle{}s normal (passed in rather than calculated on demand since the caller may already have it) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the point resides in the triangle, {\bfseries true} is returned. 
\end{DoxyReturn}
\begin{DoxyParagraph}{}
If the point is outside the triangle, {\bfseries false} is returned. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_math_a11664bfebecca73dbb42c0959d3d9ff7}\label{class_ogre_1_1_math_a11664bfebecca73dbb42c0959d3d9ff7}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [1/11]}}
{\footnotesize\ttfamily static std\+::pair$<$bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const \hyperlink{class_ogre_1_1_plane}{Plane} \&}]{plane }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / plane intersection, returns boolean result and distance. 



Referenced by Ogre\+::\+Ray\+::intersects(), Ogre\+::\+Sphere\+::intersects(), Ogre\+::\+Plane\+Bounded\+Volume\+::intersects(), and Ogre\+::\+Axis\+Aligned\+Box\+::intersects().

\mbox{\Hypertarget{class_ogre_1_1_math_a6e32a36e8db6bdbdd201e54e357a1ea6}\label{class_ogre_1_1_math_a6e32a36e8db6bdbdd201e54e357a1ea6}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [2/11]}}
{\footnotesize\ttfamily static std\+::pair$<$bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const \hyperlink{class_ogre_1_1_sphere}{Sphere} \&}]{sphere,  }\item[{bool}]{discard\+Inside = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / sphere intersection, returns boolean result and distance. 

\mbox{\Hypertarget{class_ogre_1_1_math_a13db3919682dbb39acaccb88b7892754}\label{class_ogre_1_1_math_a13db3919682dbb39acaccb88b7892754}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [3/11]}}
{\footnotesize\ttfamily static std\+::pair$<$bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{box }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / box intersection, returns boolean result and distance. 

\mbox{\Hypertarget{class_ogre_1_1_math_a6297525bcf134fc00bcf347d0bb15ac0}\label{class_ogre_1_1_math_a6297525bcf134fc00bcf347d0bb15ac0}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [4/11]}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{box,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $\ast$}]{d1,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $\ast$}]{d2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / box intersection, returns boolean result and two intersection distance. 


\begin{DoxyParams}{Parameters}
{\em ray} & The ray. \\
\hline
{\em box} & The box. \\
\hline
{\em d1} & A real pointer to retrieve the near intersection distance from the ray origin, maybe {\bfseries null} which means don\textquotesingle{}t care about the near intersection distance. \\
\hline
{\em d2} & A real pointer to retrieve the far intersection distance from the ray origin, maybe {\bfseries null} which means don\textquotesingle{}t care about the far intersection distance. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the ray is intersects the box, {\bfseries true} is returned, and the near intersection distance is return by {\itshape d1}, the far intersection distance is return by {\itshape d2}. Guarantee {\bfseries 0} $<$= {\itshape d1} $<$= {\itshape d2}. 
\end{DoxyReturn}
\begin{DoxyParagraph}{}
If the ray isn\textquotesingle{}t intersects the box, {\bfseries false} is returned, and {\itshape d1} and {\itshape d2} is unmodified. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_math_a0335dcb6040c1d8608c6f15ca145b968}\label{class_ogre_1_1_math_a0335dcb6040c1d8608c6f15ca145b968}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [5/11]}}
{\footnotesize\ttfamily static std\+::pair$<$bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{a,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{b,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{c,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{normal,  }\item[{bool}]{positive\+Side = {\ttfamily true},  }\item[{bool}]{negative\+Side = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / triangle intersection, returns boolean result and distance. 


\begin{DoxyParams}{Parameters}
{\em ray} & The ray. \\
\hline
{\em a} & The triangle\textquotesingle{}s first vertex. \\
\hline
{\em b} & The triangle\textquotesingle{}s second vertex. \\
\hline
{\em c} & The triangle\textquotesingle{}s third vertex. \\
\hline
{\em normal} & The triangle plane\textquotesingle{}s normal (passed in rather than calculated on demand since the caller may already have it), doesn\textquotesingle{}t need normalised since we don\textquotesingle{}t care. \\
\hline
{\em positive\+Side} & Intersect with \char`\"{}positive side\char`\"{} of the triangle \\
\hline
{\em negative\+Side} & Intersect with \char`\"{}negative side\char`\"{} of the triangle \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the ray is intersects the triangle, a pair of {\bfseries true} and the distance between intersection point and ray origin returned. 
\end{DoxyReturn}
\begin{DoxyParagraph}{}
If the ray isn\textquotesingle{}t intersects the triangle, a pair of {\bfseries false} and {\bfseries 0} returned. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_math_a995546f00c3d58135ca0d4083a466a17}\label{class_ogre_1_1_math_a995546f00c3d58135ca0d4083a466a17}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [6/11]}}
{\footnotesize\ttfamily static std\+::pair$<$bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{a,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{b,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{c,  }\item[{bool}]{positive\+Side = {\ttfamily true},  }\item[{bool}]{negative\+Side = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / triangle intersection, returns boolean result and distance. 


\begin{DoxyParams}{Parameters}
{\em ray} & The ray. \\
\hline
{\em a} & The triangle\textquotesingle{}s first vertex. \\
\hline
{\em b} & The triangle\textquotesingle{}s second vertex. \\
\hline
{\em c} & The triangle\textquotesingle{}s third vertex. \\
\hline
{\em positive\+Side} & Intersect with \char`\"{}positive side\char`\"{} of the triangle \\
\hline
{\em negative\+Side} & Intersect with \char`\"{}negative side\char`\"{} of the triangle \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the ray is intersects the triangle, a pair of {\bfseries true} and the distance between intersection point and ray origin returned. 
\end{DoxyReturn}
\begin{DoxyParagraph}{}
If the ray isn\textquotesingle{}t intersects the triangle, a pair of {\bfseries false} and {\bfseries 0} returned. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_math_aceb1ac86a8b0b4762ab0f0c97151f753}\label{class_ogre_1_1_math_aceb1ac86a8b0b4762ab0f0c97151f753}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [7/11]}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_sphere}{Sphere} \&}]{sphere,  }\item[{const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{box }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_sphere}{Sphere} / box intersection test. 

\mbox{\Hypertarget{class_ogre_1_1_math_abf5be33ecdfafc7414f9dc894652e78f}\label{class_ogre_1_1_math_abf5be33ecdfafc7414f9dc894652e78f}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [8/11]}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_plane}{Plane} \&}]{plane,  }\item[{const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{box }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_plane}{Plane} / box intersection test. 

\mbox{\Hypertarget{class_ogre_1_1_math_ab57cfb450a2cc7474863304e66269949}\label{class_ogre_1_1_math_ab57cfb450a2cc7474863304e66269949}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [9/11]}}
{\footnotesize\ttfamily static std\+::pair$<$bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const std\+::vector$<$ \hyperlink{class_ogre_1_1_plane}{Plane} $>$ \&}]{plane\+List,  }\item[{bool}]{normal\+Is\+Outside }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / convex plane list intersection test. 


\begin{DoxyParams}{Parameters}
{\em ray} & The ray to test with \\
\hline
{\em plane\+List} & List of planes which form a convex volume \\
\hline
{\em normal\+Is\+Outside} & Does the normal point outside the volume \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_ac235040735be0bae794a2bc113b3ea51}\label{class_ogre_1_1_math_ac235040735be0bae794a2bc113b3ea51}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [10/11]}}
{\footnotesize\ttfamily static std\+::pair$<$bool, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{const std\+::list$<$ \hyperlink{class_ogre_1_1_plane}{Plane} $>$ \&}]{plane\+List,  }\item[{bool}]{normal\+Is\+Outside }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_ray}{Ray} / convex plane list intersection test. 


\begin{DoxyParams}{Parameters}
{\em ray} & The ray to test with \\
\hline
{\em plane\+List} & List of planes which form a convex volume \\
\hline
{\em normal\+Is\+Outside} & Does the normal point outside the volume \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_math_a0b0f94a3e7f4ecc4feeff1418ac6cc14}\label{class_ogre_1_1_math_a0b0f94a3e7f4ecc4feeff1418ac6cc14}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!intersects@{intersects}}
\index{intersects@{intersects}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{intersects()}{intersects()}\hspace{0.1cm}{\footnotesize\ttfamily [11/11]}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::intersects (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_sphere}{Sphere} \&}]{sphere,  }\item[{const \hyperlink{class_ogre_1_1_plane}{Plane} \&}]{plane }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



\hyperlink{class_ogre_1_1_sphere}{Sphere} / plane intersection test. 

\begin{DoxyRemark}{Remarks}
NB just do a plane.\+get\+Distance(sphere.\+get\+Center()) for more detail! 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_math_a890336e0e4b6914024bfefd79c08f432}\label{class_ogre_1_1_math_a890336e0e4b6914024bfefd79c08f432}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Real\+Equal@{Real\+Equal}}
\index{Real\+Equal@{Real\+Equal}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Real\+Equal()}{RealEqual()}}
{\footnotesize\ttfamily static bool Ogre\+::\+Math\+::\+Real\+Equal (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{a,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{b,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{tolerance = {\ttfamily std\+:\+:numeric\+\_\+limits$<$\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$\+:\+:epsilon()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Compare 2 reals, using tolerance for inaccuracies. 



Referenced by Ogre\+::\+Matrix3\+::has\+Scale(), and Ogre\+::\+Vector3\+::position\+Equals().

\mbox{\Hypertarget{class_ogre_1_1_math_a115235aa59b977879a3b889169c7b0f0}\label{class_ogre_1_1_math_a115235aa59b977879a3b889169c7b0f0}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!calculate\+Tangent\+Space\+Vector@{calculate\+Tangent\+Space\+Vector}}
\index{calculate\+Tangent\+Space\+Vector@{calculate\+Tangent\+Space\+Vector}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{calculate\+Tangent\+Space\+Vector()}{calculateTangentSpaceVector()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_vector3}{Vector3} Ogre\+::\+Math\+::calculate\+Tangent\+Space\+Vector (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{position1,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{position2,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{position3,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{u1,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{v1,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{u2,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{v2,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{u3,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{v3 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Calculates the tangent space vector for a given set of positions / texture coords. 

\mbox{\Hypertarget{class_ogre_1_1_math_aa339e5bde4dfb3b4cb7e7e47ec998140}\label{class_ogre_1_1_math_aa339e5bde4dfb3b4cb7e7e47ec998140}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!build\+Reflection\+Matrix@{build\+Reflection\+Matrix}}
\index{build\+Reflection\+Matrix@{build\+Reflection\+Matrix}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{build\+Reflection\+Matrix()}{buildReflectionMatrix()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_affine3}{Affine3} Ogre\+::\+Math\+::build\+Reflection\+Matrix (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_plane}{Plane} \&}]{p }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Build a reflection matrix for the passed in plane. 

\mbox{\Hypertarget{class_ogre_1_1_math_a44645d1ee1ebb469812e788a6ae17be7}\label{class_ogre_1_1_math_a44645d1ee1ebb469812e788a6ae17be7}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!calculate\+Face\+Normal@{calculate\+Face\+Normal}}
\index{calculate\+Face\+Normal@{calculate\+Face\+Normal}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{calculate\+Face\+Normal()}{calculateFaceNormal()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_vector4}{Vector4} Ogre\+::\+Math\+::calculate\+Face\+Normal (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v1,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v2,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v3 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Calculate a face normal, including the w component which is the offset from the origin. 

\mbox{\Hypertarget{class_ogre_1_1_math_af879ed458b9ae7657c892a94f3cf186c}\label{class_ogre_1_1_math_af879ed458b9ae7657c892a94f3cf186c}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!calculate\+Basic\+Face\+Normal@{calculate\+Basic\+Face\+Normal}}
\index{calculate\+Basic\+Face\+Normal@{calculate\+Basic\+Face\+Normal}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{calculate\+Basic\+Face\+Normal()}{calculateBasicFaceNormal()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_vector3}{Vector3} Ogre\+::\+Math\+::calculate\+Basic\+Face\+Normal (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v1,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v2,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v3 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Calculate a face normal, no w-\/information. 

\mbox{\Hypertarget{class_ogre_1_1_math_a76d338baeb1ee4d0664650007d408543}\label{class_ogre_1_1_math_a76d338baeb1ee4d0664650007d408543}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!calculate\+Face\+Normal\+Without\+Normalize@{calculate\+Face\+Normal\+Without\+Normalize}}
\index{calculate\+Face\+Normal\+Without\+Normalize@{calculate\+Face\+Normal\+Without\+Normalize}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{calculate\+Face\+Normal\+Without\+Normalize()}{calculateFaceNormalWithoutNormalize()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_vector4}{Vector4} Ogre\+::\+Math\+::calculate\+Face\+Normal\+Without\+Normalize (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v1,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v2,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v3 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Calculate a face normal without normalize, including the w component which is the offset from the origin. 

\mbox{\Hypertarget{class_ogre_1_1_math_a9fc455c22444ef51be81bd1157ec814f}\label{class_ogre_1_1_math_a9fc455c22444ef51be81bd1157ec814f}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!calculate\+Basic\+Face\+Normal\+Without\+Normalize@{calculate\+Basic\+Face\+Normal\+Without\+Normalize}}
\index{calculate\+Basic\+Face\+Normal\+Without\+Normalize@{calculate\+Basic\+Face\+Normal\+Without\+Normalize}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{calculate\+Basic\+Face\+Normal\+Without\+Normalize()}{calculateBasicFaceNormalWithoutNormalize()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_vector3}{Vector3} Ogre\+::\+Math\+::calculate\+Basic\+Face\+Normal\+Without\+Normalize (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v1,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v2,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{v3 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Calculate a face normal without normalize, no w-\/information. 

\mbox{\Hypertarget{class_ogre_1_1_math_a572d6fed0aa293aa6129e3db3605e97c}\label{class_ogre_1_1_math_a572d6fed0aa293aa6129e3db3605e97c}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!gaussian\+Distribution@{gaussian\+Distribution}}
\index{gaussian\+Distribution@{gaussian\+Distribution}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{gaussian\+Distribution()}{gaussianDistribution()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::gaussian\+Distribution (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{x,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{offset = {\ttfamily 0.0f},  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{scale = {\ttfamily 1.0f} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Generates a value based on the Gaussian (normal) distribution function with the given offset and scale parameters. 

\mbox{\Hypertarget{class_ogre_1_1_math_a0de224c93b57ff8414892d77f9a2d81d}\label{class_ogre_1_1_math_a0de224c93b57ff8414892d77f9a2d81d}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!Clamp@{Clamp}}
\index{Clamp@{Clamp}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{Clamp()}{Clamp()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
static T Ogre\+::\+Math\+::\+Clamp (\begin{DoxyParamCaption}\item[{T}]{val,  }\item[{T}]{minval,  }\item[{T}]{maxval }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Clamp a value within an inclusive range. 



Referenced by Ogre\+::\+Vector2\+::angle\+Between(), and Ogre\+::\+Vector3\+::angle\+Between().

\mbox{\Hypertarget{class_ogre_1_1_math_a940f61ee807ac6eecda86b300f125bd8}\label{class_ogre_1_1_math_a940f61ee807ac6eecda86b300f125bd8}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!make\+View\+Matrix@{make\+View\+Matrix}}
\index{make\+View\+Matrix@{make\+View\+Matrix}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{make\+View\+Matrix()}{makeViewMatrix()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_affine3}{Affine3} Ogre\+::\+Math\+::make\+View\+Matrix (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{position,  }\item[{const \hyperlink{class_ogre_1_1_quaternion}{Quaternion} \&}]{orientation,  }\item[{const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$}]{reflect\+Matrix = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a6beb574317f8085bab69587ef7dc72ed}\label{class_ogre_1_1_math_a6beb574317f8085bab69587ef7dc72ed}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!bounding\+Radius\+From\+A\+A\+BB@{bounding\+Radius\+From\+A\+A\+BB}}
\index{bounding\+Radius\+From\+A\+A\+BB@{bounding\+Radius\+From\+A\+A\+BB}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{bounding\+Radius\+From\+A\+A\+B\+B()}{boundingRadiusFromAABB()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::bounding\+Radius\+From\+A\+A\+BB (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{aabb }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the radius of the origin-\/centered bounding sphere from the bounding box. 

\mbox{\Hypertarget{class_ogre_1_1_math_a7e988f7561906c49d7610b57c7bfc728}\label{class_ogre_1_1_math_a7e988f7561906c49d7610b57c7bfc728}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!bounding\+Radius\+From\+A\+A\+B\+B\+Centered@{bounding\+Radius\+From\+A\+A\+B\+B\+Centered}}
\index{bounding\+Radius\+From\+A\+A\+B\+B\+Centered@{bounding\+Radius\+From\+A\+A\+B\+B\+Centered}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{bounding\+Radius\+From\+A\+A\+B\+B\+Centered()}{boundingRadiusFromAABBCentered()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::bounding\+Radius\+From\+A\+A\+B\+B\+Centered (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{aabb }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the radius of the bbox-\/centered bounding sphere from the bounding box. 



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_math_ac2f6916aed097d695a0bffd4ca8a22dd}\label{class_ogre_1_1_math_ac2f6916aed097d695a0bffd4ca8a22dd}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!L\+O\+G2@{L\+O\+G2}}
\index{L\+O\+G2@{L\+O\+G2}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{L\+O\+G2}{LOG2}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+L\+O\+G2\hspace{0.3cm}{\ttfamily [static]}}



Stored value of log(2) for frequent use. 

\mbox{\Hypertarget{class_ogre_1_1_math_a96373da6032ed7c1ff668430f89393a6}\label{class_ogre_1_1_math_a96373da6032ed7c1ff668430f89393a6}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!P\+O\+S\+\_\+\+I\+N\+F\+I\+N\+I\+TY@{P\+O\+S\+\_\+\+I\+N\+F\+I\+N\+I\+TY}}
\index{P\+O\+S\+\_\+\+I\+N\+F\+I\+N\+I\+TY@{P\+O\+S\+\_\+\+I\+N\+F\+I\+N\+I\+TY}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{P\+O\+S\+\_\+\+I\+N\+F\+I\+N\+I\+TY}{POS\_INFINITY}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+P\+O\+S\+\_\+\+I\+N\+F\+I\+N\+I\+TY\hspace{0.3cm}{\ttfamily [static]}}



Referenced by Ogre\+::\+Axis\+Aligned\+Box\+::get\+Half\+Size(), Ogre\+::\+Axis\+Aligned\+Box\+::get\+Size(), and Ogre\+::\+Axis\+Aligned\+Box\+::volume().

\mbox{\Hypertarget{class_ogre_1_1_math_a83fdfd933be03233fc58b80e23740186}\label{class_ogre_1_1_math_a83fdfd933be03233fc58b80e23740186}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!N\+E\+G\+\_\+\+I\+N\+F\+I\+N\+I\+TY@{N\+E\+G\+\_\+\+I\+N\+F\+I\+N\+I\+TY}}
\index{N\+E\+G\+\_\+\+I\+N\+F\+I\+N\+I\+TY@{N\+E\+G\+\_\+\+I\+N\+F\+I\+N\+I\+TY}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{N\+E\+G\+\_\+\+I\+N\+F\+I\+N\+I\+TY}{NEG\_INFINITY}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+N\+E\+G\+\_\+\+I\+N\+F\+I\+N\+I\+TY\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_aee3e908f569f6d83d8359ef0d88a0461}\label{class_ogre_1_1_math_aee3e908f569f6d83d8359ef0d88a0461}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!PI@{PI}}
\index{PI@{PI}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{PI}{PI}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+PI\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a58d139439316e19e9142000f1a6bdf6d}\label{class_ogre_1_1_math_a58d139439316e19e9142000f1a6bdf6d}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!T\+W\+O\+\_\+\+PI@{T\+W\+O\+\_\+\+PI}}
\index{T\+W\+O\+\_\+\+PI@{T\+W\+O\+\_\+\+PI}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{T\+W\+O\+\_\+\+PI}{TWO\_PI}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+T\+W\+O\+\_\+\+PI\hspace{0.3cm}{\ttfamily [static]}}



Referenced by Ogre\+::\+Vector2\+::angle\+To(), and Ogre\+::\+Vector3\+::random\+Deviant().

\mbox{\Hypertarget{class_ogre_1_1_math_a98d6d0e2b5e0c73c17d16ac97d94f939}\label{class_ogre_1_1_math_a98d6d0e2b5e0c73c17d16ac97d94f939}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!H\+A\+L\+F\+\_\+\+PI@{H\+A\+L\+F\+\_\+\+PI}}
\index{H\+A\+L\+F\+\_\+\+PI@{H\+A\+L\+F\+\_\+\+PI}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{H\+A\+L\+F\+\_\+\+PI}{HALF\_PI}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::\+H\+A\+L\+F\+\_\+\+PI\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_ac66bbf7ffd258ae1d0a79bbb8e39a3b2}\label{class_ogre_1_1_math_ac66bbf7ffd258ae1d0a79bbb8e39a3b2}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!f\+Deg2\+Rad@{f\+Deg2\+Rad}}
\index{f\+Deg2\+Rad@{f\+Deg2\+Rad}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{f\+Deg2\+Rad}{fDeg2Rad}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::f\+Deg2\+Rad\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_math_a6b4150f9ea142d15c5913d6505cb6a23}\label{class_ogre_1_1_math_a6b4150f9ea142d15c5913d6505cb6a23}} 
\index{Ogre\+::\+Math@{Ogre\+::\+Math}!f\+Rad2\+Deg@{f\+Rad2\+Deg}}
\index{f\+Rad2\+Deg@{f\+Rad2\+Deg}!Ogre\+::\+Math@{Ogre\+::\+Math}}
\subsubsection{\texorpdfstring{f\+Rad2\+Deg}{fRad2Deg}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Math\+::f\+Rad2\+Deg\hspace{0.3cm}{\ttfamily [static]}}



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