#include <MathHelper.hpp>
List of all members.
Static Public Member Functions |
| template<typename T > |
| static T | Max (const T &left, const T &right) |
| template<typename T > |
| static T | Min (const T &left, const T &right) |
| template<typename T > |
| static T | Floor (const T &number) |
| template<typename T > |
| static T | Clamp (const T &value, const T &min, const T &max) |
| template<typename T1 , typename T2 > |
| static int | Pow (const T1 &number, const T2 &pow) |
| template<typename T1 , typename T2 > |
| static T1 | Sqrt (const T1 &number, const T2 &pow) |
| template<typename T > |
| static T | Abs (const T &value) |
| template<typename T > |
| static T | Cos (const T &angle) |
| template<typename T > |
| static T | Sin (const T &angle) |
Detailed Description
Definition at line 8 of file MathHelper.hpp.
Constructor & Destructor Documentation
| yap::MathHelper::MathHelper |
( |
| ) |
|
|
private |
| yap::MathHelper::~MathHelper |
( |
| ) |
|
|
private |
Member Function Documentation
template<typename T >
| T yap::MathHelper::Abs |
( |
const T & |
value | ) |
|
|
static |
template<typename T >
| T yap::MathHelper::Clamp |
( |
const T & |
value, |
|
|
const T & |
min, |
|
|
const T & |
max |
|
) |
| |
|
static |
template<typename T >
| T yap::MathHelper::Cos |
( |
const T & |
angle | ) |
|
|
static |
template<typename T >
| T yap::MathHelper::Floor |
( |
const T & |
number | ) |
|
|
static |
template<typename T >
| T yap::MathHelper::Max |
( |
const T & |
left, |
|
|
const T & |
right |
|
) |
| |
|
static |
template<typename T >
| T yap::MathHelper::Min |
( |
const T & |
left, |
|
|
const T & |
right |
|
) |
| |
|
static |
template<typename T1 , typename T2 >
| int yap::MathHelper::Pow |
( |
const T1 & |
number, |
|
|
const T2 & |
pow |
|
) |
| |
|
static |
template<typename T >
| T yap::MathHelper::Sin |
( |
const T & |
angle | ) |
|
|
static |
template<typename T1 , typename T2 >
| T1 yap::MathHelper::Sqrt |
( |
const T1 & |
number, |
|
|
const T2 & |
pow |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: