Jamie Slowgrove - OOT Assignment 1 - A Mission in Afghanistan
 All Classes Namespaces Files Functions Variables Macros
Namespaces | Macros | Functions
MyUtils.h File Reference
#include "stdafx.h"
#include "OgreMath.h"
Include dependency graph for MyUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 util
 A namespace to contain utility functions.
 

Macros

#define PI   3.141596f
 

Functions

Ogre::Matrix3 util::RotationMatrixXYZ (Ogre::Vector3 &orientation)
 
Ogre::Matrix3 util::xRotationMatrix3 (float angle)
 
Ogre::Matrix3 util::yRotationMatrix3 (float angle)
 
Ogre::Matrix3 util::zRotationMatrix3 (float angle)
 
Ogre::Matrix4 util::RotationMatrixXYZW (Ogre::Vector3 &orientation)
 
Ogre::Matrix4 util::xRotationMatrix4 (float angle)
 
Ogre::Matrix4 util::yRotationMatrix4 (float angle)
 
Ogre::Matrix4 util::zRotationMatrix4 (float angle)
 
Ogre::Quaternion util::covertRotateToQuaternion (Ogre::Vector3 rotationAxis, float rotateAngle)
 
Ogre::Quaternion util::covertRotateToQuaternion (Ogre::Vector3 rotation)
 
float util::convertAngleToRadian (float angle)
 
float util::convertRadianToDegree (float angle)
 
Ogre::Real util::angleCheck (Ogre::Real angle, Ogre::Real angleChange)
 
Ogre::Real util::getAngleTOA (Ogre::Real opp, Ogre::Real adj)
 
Ogre::Quaternion util::aim (Ogre::Vector3 target, Ogre::Vector3 lastTarget, Ogre::Vector3 position, Ogre::Vector3 rotateAxis)
 

Macro Definition Documentation

#define PI   3.141596f

A definition of pi