This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Typedefs

Math< float >
Mathf ( )
Math< double >
Mathd ( )
Vector2< float >
Vector2< double >
Vector2< int >
Vector2< float >
Point2f ( )
Vector2< double >
Point2d ( )
Vector2< int >
Point2i ( )
Vector3< float >
Vector3< double >
Vector3< int32_t >
Vector3< float >
Point3f ( )
Vector3< double >
Point3d ( )
Vector3< int32_t >
Point3i ( )
Vector4< float >
Vector4< double >
Vector4< int >
Bounds3< float >
Bounds3< double >
Size< int >
Sizei ( )
Size< unsigned >
Sizeu ( )
Size< float >
Sizef ( )
Size< double >
Sized ( )
Rect< int >
Recti ( )
Quat< float >
Quatf ( )
Quat< double >
Quatd ( )
Pose< float >
Posef ( )
Pose< double >
Posed ( )
Matrix4< float >
Matrix4< double >
Matrix3< float >
Matrix3< double >
Matrix2< float >
Matrix2< double >
SymMat3< float >
SymMat3< double >
Angle< float >
Anglef ( )
Angle< double >
Angled ( )
Plane< float >
Planef ( )
Plane< double >
Planed ( )

Functions

const T
OVRMath_Min ( const T a, const T b )
const T
OVRMath_Max ( const T a, const T b )
void
OVRMath_Swap ( T & a, T & b )
float
RadToDegree ( float rad )
double
RadToDegree ( double rad )
float
DegreeToRad ( float deg )
double
DegreeToRad ( double deg )
T
Sqr ( T x )
T
RcpSqrt ( const T f )
T
Sign ( T x )
float
Acos ( float x )
double
Acos ( double x )
float
Asin ( float x )
double
Asin ( double x )
OVR_MATH_STATIC_ASSERT ( (sizeof(Vector3f)==3 *sizeof(float)) , "sizeof(Vector3f) failure" )
OVR_MATH_STATIC_ASSERT ( (sizeof(Vector3d)==3 *sizeof(double)) , "sizeof(Vector3d) failure" )
OVR_MATH_STATIC_ASSERT ( (sizeof(Vector3i)==3 *sizeof(int32_t)) , "sizeof(Vector3i) failure" )
OVR_MATH_STATIC_ASSERT ( (sizeof(Quatf)==4 *sizeof(float)) , "sizeof(Quatf) failure" )
OVR_MATH_STATIC_ASSERT ( (sizeof(Quatd)==4 *sizeof(double)) , "sizeof(Quatd) failure" )
OVR_MATH_STATIC_ASSERT ( (sizeof(Posed)==sizeof(Quatd)+sizeof(Vector3d)) , "sizeof(Posed) failure" )
OVR_MATH_STATIC_ASSERT ( (sizeof(Posef)==sizeof(Quatf)+sizeof(Vector3f)) , "sizeof(Posef) failure" )
Matrix3< T >
operator* ( const SymMat3< T > & a, const SymMat3< T > & b )
Matrix3< T >
operator* ( const Matrix3< T > & a, const SymMat3< T > & b )
Matrix4f
CreateProjection ( bool rightHanded, bool isOpenGL, FovPort fov, StereoEye eye, float zNear, float zFar, bool flipZ, bool farAtInfinity )
Matrix4f
CreateOrthoSubProjection ( bool rightHanded, StereoEye eyeType, float tanHalfFovX, float tanHalfFovY, float unitsX, float unitsY, float distanceFromCamera, float interpupillaryDistance, Matrix4f const & projection, float zNear, float zFar, bool flipZ, bool farAtInfinity )
ScaleAndOffset2D

Enumeration Type Documentation

enum OVR.Axis
Enumerator
Axis_X= 0
Axis_Y= 1
Axis_Z= 2
enum OVR.RotateDirection
Enumerator
Rotate_CCW= 1
Rotate_CW= -1
enum OVR.HandedSystem
Enumerator
Handed_R= 1
Handed_L= -1
enum OVR.AxisDirection
Enumerator
Axis_Up= 2
Axis_Down= -2
Axis_Right= 1
Axis_Left= -1
Axis_In= 3
Axis_Out= -3
enum OVR.StereoEye
Enumerator
StereoEye_Left
StereoEye_Right
StereoEye_Center

Typedef Documentation

typedef Math<float> OVR::Mathf ( )
typedef Math<double> OVR::Mathd ( )
typedef Vector2<float> OVR::Vector2f ( )
typedef Vector2<double> OVR::Vector2d ( )
typedef Vector2<int> OVR::Vector2i ( )
typedef Vector2<float> OVR::Point2f ( )
typedef Vector2<double> OVR::Point2d ( )
typedef Vector2<int> OVR::Point2i ( )
typedef Vector3<float> OVR::Vector3f ( )
typedef Vector3<double> OVR::Vector3d ( )
typedef Vector3<int32_t> OVR::Vector3i ( )
typedef Vector3<float> OVR::Point3f ( )
typedef Vector3<double> OVR::Point3d ( )
typedef Vector3<int32_t> OVR::Point3i ( )
typedef Vector4<float> OVR::Vector4f ( )
typedef Vector4<double> OVR::Vector4d ( )
typedef Vector4<int> OVR::Vector4i ( )
typedef Bounds3<float> OVR::Bounds3f ( )
typedef Bounds3<double> OVR::Bounds3d ( )
typedef Size<int> OVR::Sizei ( )
typedef Size<unsigned> OVR::Sizeu ( )
typedef Size<float> OVR::Sizef ( )
typedef Size<double> OVR::Sized ( )
typedef Rect<int> OVR::Recti ( )
typedef Quat<float> OVR::Quatf ( )
typedef Quat<double> OVR::Quatd ( )
typedef Pose<float> OVR::Posef ( )
typedef Pose<double> OVR::Posed ( )
typedef Matrix4<float> OVR::Matrix4f ( )
typedef Matrix4<double> OVR::Matrix4d ( )
typedef Matrix3<float> OVR::Matrix3f ( )
typedef Matrix3<double> OVR::Matrix3d ( )
typedef Matrix2<float> OVR::Matrix2f ( )
typedef Matrix2<double> OVR::Matrix2d ( )
typedef SymMat3<float> OVR::SymMat3f ( )
typedef SymMat3<double> OVR::SymMat3d ( )
typedef Angle<float> OVR::Anglef ( )
typedef Angle<double> OVR::Angled ( )
typedef Plane<float> OVR::Planef ( )
typedef Plane<double> OVR::Planed ( )

Function Documentation

const T OVR::OVRMath_Min ( const T a, const T b )
const T OVR::OVRMath_Max ( const T a, const T b )
void OVR::OVRMath_Swap ( T & a, T & b )
float OVR::RadToDegree ( float rad )
double OVR::RadToDegree ( double rad )
float OVR::DegreeToRad ( float deg )
double OVR::DegreeToRad ( double deg )
T OVR::Sqr ( T x )
T OVR::RcpSqrt ( const T f )
T OVR::Sign ( T x )
float OVR::Acos ( float x )
double OVR::Acos ( double x )
float OVR::Asin ( float x )
double OVR::Asin ( double x )
OVR::OVR_MATH_STATIC_ASSERT ( (sizeof(Vector3f)==3 *sizeof(float)) , "sizeof(Vector3f) failure" )
OVR::OVR_MATH_STATIC_ASSERT ( (sizeof(Vector3d)==3 *sizeof(double)) , "sizeof(Vector3d) failure" )
OVR::OVR_MATH_STATIC_ASSERT ( (sizeof(Vector3i)==3 *sizeof(int32_t)) , "sizeof(Vector3i) failure" )
OVR::OVR_MATH_STATIC_ASSERT ( (sizeof(Quatf)==4 *sizeof(float)) , "sizeof(Quatf) failure" )
OVR::OVR_MATH_STATIC_ASSERT ( (sizeof(Quatd)==4 *sizeof(double)) , "sizeof(Quatd) failure" )
OVR::OVR_MATH_STATIC_ASSERT ( (sizeof(Posed)==sizeof(Quatd)+sizeof(Vector3d)) , "sizeof(Posed) failure" )
OVR::OVR_MATH_STATIC_ASSERT ( (sizeof(Posef)==sizeof(Quatf)+sizeof(Vector3f)) , "sizeof(Posef) failure" )
Matrix3<T> OVR::operator* ( const SymMat3< T > & a, const SymMat3< T > & b )
Matrix3<T> OVR::operator* ( const Matrix3< T > & a, const SymMat3< T > & b )
Matrix4f OVR::CreateProjection ( bool rightHanded, bool isOpenGL, FovPort fov, StereoEye eye, float zNear, float zFar, bool flipZ, bool farAtInfinity )
Matrix4f OVR::CreateOrthoSubProjection ( bool rightHanded, StereoEye eyeType, float tanHalfFovX, float tanHalfFovY, float unitsX, float unitsY, float distanceFromCamera, float interpupillaryDistance, Matrix4f const & projection, float zNear, float zFar, bool flipZ, bool farAtInfinity )
ScaleAndOffset2D OVR::CreateNDCScaleAndOffsetFromFov ( FovPort fov )
The documentation for this namespace was generated from the following file: Include/Extras/OVR_Math.h