#include "fsConst.h"
#include <cmath>
Include dependency graph for fsFunc.h:
Go to the source code of this file.
Namespaces | |
namespace | fs |
namespace | fs::mth |
Functions | |
template<typename T> | |
T | fs::mth::Min (T tVal1, T tVal2) |
template<typename T> | |
T | fs::mth::Max (T tVal1, T tVal2) |
template<typename T> | |
T | fs::mth::Clamp (T tVal, T tMinVal, T tMaxVal) |
template<typename T> | |
T | fs::mth::Abs (T tVal) |
template<typename T> | |
T | fs::mth::Sgn (T tVal) |
template<typename T> | |
T | fs::mth::Floor (T tVal) |
float | fs::mth::Sin (float fAngle) |
float | fs::mth::Cos (float fAngle) |
void | fs::mth::SinCos (float tAngle, float &tSin, float &tCos) |
template<typename T> | |
T | fs::mth::Sqrt (T tVal) |
template<typename T> | |
T | fs::mth::SqrtInv (T tVal) |
template<typename T> | |
T | fs::mth::Norm (T tVal, T tMin, T tMax) |
int | fs::mth::Norm0_360 (int nVal) |
float | fs::mth::Norm0_360 (float fVal) |