Pioneer
Loading...
Searching...
No Matches
Namespaces | Functions
MathUtil.h File Reference
#include "matrix3x3.h"
#include "matrix4x4.h"
#include "vector3.h"
Include dependency graph for MathUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MathUtil
 

Functions

vector3d MathUtil::RandomPointOnSphere (double minRadius, double maxRadius)
 
vector3d MathUtil::RandomPointOnSphere (double radius)
 
vector3d MathUtil::RandomPointInCircle (double minRadius, double maxRadius)
 
vector3d MathUtil::RandomPointInCircle (double radius)
 
vector3d MathUtil::RandomPointOnCircle (double radius)
 
template<class T , class F >
MathUtil::mix (const T &v1, const T &v2, const F t)
 
template<class T , class F >
MathUtil::Lerp (const T &v1, const T &v2, const F t)
 
float MathUtil::Dot (const vector3f &a, const vector3f &b)
 
template<typename T >
vector3< T > MathUtil::OrthogonalDirection (const vector3< T > &a)
 
matrix4x4f MathUtil::Inverse (const matrix4x4f &cell)
 
matrix4x4f MathUtil::InverseSlow (const matrix4x4f &cell)
 
matrix4x4f MathUtil::Transpose (const matrix4x4f &cell)
 
matrix3x3f MathUtil::Inverse (const matrix3x3f &cell)
 
matrix3x3f MathUtil::Transpose (const matrix3x3f &cell)
 
float MathUtil::DistanceFromLineSegment (const vector3f &start, const vector3f &end, const vector3f &pos, bool &isWithinLineSegment)
 
float MathUtil::DistanceFromLine (const vector3f &start, const vector3f &end, const vector3f &pos)