#include <seadMathCalcCommon.h>
|
| static constexpr T | piHalf () |
| static constexpr T | pi () |
| static constexpr T | pi2 () |
| static constexpr T | zero () |
| static constexpr T | one () |
| static constexpr T | ln2 () |
| static constexpr T | ln2Inv () |
| static constexpr T | neg (T t) |
| static constexpr T | inv (T t) |
| static constexpr T | sign (T t) |
| static constexpr T | fitSign (T x, T y) |
| static constexpr T | square (T t) |
| static constexpr T | sqrt (T t) |
| static constexpr T | rsqrt (T t) |
| static constexpr T | pow (T x, T y) |
| static T | powTable (T, T) |
| static constexpr T | sin (T t) |
| static constexpr T | cos (T t) |
| static constexpr T | tan (T t) |
| static constexpr T | asin (T s) |
| static constexpr T | acos (T c) |
| static constexpr T | atan (T t) |
| static constexpr T | atan2 (T y, T x) |
| static T | sinIdx (u32 idx) |
| static T | cosIdx (u32 idx) |
| static T | tanIdx (u32 idx) |
| static u32 | asinIdx (T s) |
| static u32 | acosIdx (T c) |
| static u32 | atanIdx (T t) |
| static u32 | atan2Idx (T y, T x) |
| static void | sinCosIdx (T *p_sin, T *p_cos, u32 idx) |
| static constexpr T | exp (T t) |
| static constexpr T | log (T t) |
| static constexpr T | log2 (T t) |
| static constexpr T | log10 (T t) |
| static T | expTable (T x) |
| static T | logTable (T x) |
| static constexpr T | minNumber () |
| static constexpr T | maxNumber () |
| static constexpr T | infinity () |
| static constexpr T | nan () |
| static constexpr T | epsilon () |
| static constexpr bool | equalsEpsilon (T a, T b, T eps=epsilon()) |
| static constexpr T | abs (T x) |
| static constexpr T | max (T a, T b) |
| static constexpr T | min (T a, T b) |
| static constexpr T | max3 (T a, T b, T c) |
| static constexpr T | min3 (T a, T b, T c) |
| static constexpr T | deg2rad (T a) |
| static constexpr T | rad2deg (T a) |
| static constexpr u32 | deg2idx (T a) |
| static constexpr u32 | rad2idx (T a) |
| static constexpr T | idx2deg (u32 a) |
| static constexpr T | idx2rad (u32 a) |
| static T | roundAngle (T) |
| static T | angleDist (T, T) |
| static T | random () |
| static T | getRand (T) |
| static T | getRandRange (T, T) |
| static T | getRandSign () |
| static constexpr s32 | roundOff (T val) |
| static constexpr s32 | floor (T val) |
| static constexpr s32 | ceil (T val) |
| static T constexpr | roundUpN (T val, s32 multNumber) |
| static T constexpr | roundUpPow2 (T val, s32 base) |
| static T constexpr | roundDownN (T val, s32 multNumber) |
| static T constexpr | roundDownPow2 (T val, s32 base) |
| static T constexpr | clampMax (T val, T max_) |
| static T constexpr | clampMin (T val, T min_) |
| static T constexpr | clamp2 (T min_, T val, T max_) |
| static T | gcd (T m, T n) |
| static T | lcm (T m, T n) |
| static bool | isZero (T, T) |
| static bool | isNan (T) |
| static bool | isPow2 (T) |
| static bool | isMultiplePow2 (T, T) |
| static bool | isInfinity (T) |
| static bool | isIntersect1d (T, T, T, T) |
| static bool | chase (T *, T, T) |
| static bool | chaseAngle (T *, T, T) |
| static bool | chaseAngleIdx (u32 *, u32, T) |
| static constexpr T | lerp (T a, T b, f32 ratio) |
◆ piHalf()
◆ pi()
◆ pi2()
◆ zero()
◆ one()
◆ ln2()
◆ ln2Inv()
◆ neg()
◆ inv()
◆ sign()
◆ fitSign()
◆ square()
◆ sqrt() [1/2]
◆ rsqrt() [1/2]
◆ pow()
◆ powTable()
◆ sin()
◆ cos()
◆ tan()
◆ asin()
◆ acos()
◆ atan()
◆ atan2()
◆ sinIdx() [1/2]
◆ cosIdx() [1/2]
◆ tanIdx() [1/2]
◆ asinIdx() [1/2]
◆ acosIdx() [1/2]
◆ atanIdx() [1/2]
◆ atan2Idx() [1/2]
◆ sinCosIdx() [1/2]
◆ exp()
◆ log()
◆ log2()
◆ log10()
◆ expTable() [1/2]
◆ logTable() [1/2]
◆ minNumber() [1/4]
◆ maxNumber() [1/4]
◆ infinity()
◆ nan() [1/3]
◆ epsilon()
◆ equalsEpsilon()
◆ abs() [1/5]
◆ max()
◆ min()
◆ max3()
◆ min3()
◆ deg2rad()
◆ rad2deg()
◆ deg2idx()
◆ rad2idx()
◆ idx2deg()
◆ idx2rad()
◆ roundAngle()
◆ angleDist()
◆ random()
◆ getRand()
◆ getRandRange()
◆ getRandSign()
◆ roundOff() [1/2]
◆ floor() [1/2]
◆ ceil() [1/2]
◆ roundUpN()
◆ roundUpPow2() [1/3]
◆ roundDownN()
◆ roundDownPow2()
◆ clampMax()
◆ clampMin()
◆ clamp2()
◆ gcd() [1/2]
◆ lcm() [1/2]
◆ isZero()
◆ isNan()
◆ isPow2()
◆ isMultiplePow2()
◆ isInfinity()
◆ isIntersect1d()
◆ chase()
◆ chaseAngle()
◆ chaseAngleIdx()
◆ lerp()
◆ atanIdx_() [1/3]
◆ expLn2_()
◆ log1_2_()
◆ assertGreaterThanOrEqualToZero_()
◆ gcd() [2/2]
◆ lcm() [2/2]
◆ atanIdx_() [2/3]
◆ expTable() [2/2]
◆ logTable() [2/2]
◆ sqrt() [2/2]
◆ rsqrt() [2/2]
◆ sinIdx() [2/2]
◆ cosIdx() [2/2]
◆ tanIdx() [2/2]
◆ asinIdx() [2/2]
◆ acosIdx() [2/2]
◆ atanIdx() [2/2]
◆ atan2Idx() [2/2]
◆ sinCosIdx() [2/2]
◆ minNumber() [2/4]
◆ maxNumber() [2/4]
◆ minNumber() [3/4]
◆ maxNumber() [3/4]
◆ minNumber() [4/4]
◆ maxNumber() [4/4]
◆ nan() [2/3]
◆ nan() [3/3]
◆ abs() [2/5]
◆ abs() [3/5]
◆ abs() [4/5]
◆ abs() [5/5]
◆ roundOff() [2/2]
◆ floor() [2/2]
◆ ceil() [2/2]
◆ roundUpPow2() [2/3]
◆ roundUpPow2() [3/3]
◆ cSinCosTbl()
◆ cAtanTbl()
◆ atanIdx_() [3/3]
◆ cQuarterRoundIdx
◆ cHalfRoundIdx
◆ cSinCosTbl
◆ cAtanTbl
◆ cExpTbl
◆ cLogTbl