1#ifndef JMATRIGONOMETRIC_H
2#define JMATRIGONOMETRIC_H
26template<
int N,
typename T>
82 }
else if (
x <= -1.0f) {
84 }
else if (
x < 0.0f) {
f32 JMASinShort(s16 v)
Definition JMATrigonometric.h:109
f32 JMASinLap(f32 v)
Definition JMATrigonometric.h:120
f32 JMASinDegree(f32 degree)
Definition JMATrigonometric.h:124
f32 JMASSin(s16 v)
Definition JMATrigonometric.h:116
f32 JMACosDegree(f32 degree)
Definition JMATrigonometric.h:128
f32 JMASinRadian(f32 radian)
Definition JMATrigonometric.h:132
f32 JMASCosShort(s16 v)
Definition JMATrigonometric.h:106
f32 JMASCos(s16 v)
Definition JMATrigonometric.h:113
T cLib_calcTimer(T *value)
Definition c_lib.h:74
double x double x
Definition e_atan2.c:58
double v
Definition e_pow.c:163
static const double T[]
Definition k_tan.c:106
Definition JMATrigonometric.cpp:78
TAsinAcosTable asinAcosTable_
Definition JMATrigonometric.cpp:88
TAtanTable atanTable_
Definition JMATrigonometric.cpp:85
TSinCosTable< 13, f32 > sincosTable_
Definition JMATrigonometric.cpp:82
f32 acosDegree(f32 x)
Definition JMATrigonometric.h:101
static f32 RADIAN_DEG180()
Definition JMATrigonometric.h:17
static f32 RADIAN_DEG090()
Definition JMATrigonometric.h:16
static f32 RADIAN_DEG360()
Definition JMATrigonometric.h:18
static f32 RADIAN_TO_DEGREE_FACTOR()
Definition JMATrigonometric.h:19
Definition JMATrigonometric.h:8
Definition JMATrigonometric.cpp:62
f32 acosDegree(f32 x)
Definition JMATrigonometric.h:91
u8 pad[0x1C]
Definition JMATrigonometric.cpp:64
f32 acos_(f32 x)
Definition JMATrigonometric.h:79
f32 table[1025]
Definition JMATrigonometric.cpp:63
Definition JMATrigonometric.cpp:49
f32 table[1025]
Definition JMATrigonometric.cpp:50
u8 pad[0x1C]
Definition JMATrigonometric.cpp:51
Definition JMATrigonometric.cpp:35
T sinShort(s16 v) const
Definition JMATrigonometric.h:30
std::pair< T, T > table[1<< N]
Definition JMATrigonometric.cpp:36
T cosDegree(T degree)
Definition JMATrigonometric.h:47
T sinRadian(T radian)
Definition JMATrigonometric.h:54
T sinDegree(T degree)
Definition JMATrigonometric.h:40
T cosShort(s16 v) const
Definition JMATrigonometric.h:31
T sinLap(T v)
Definition JMATrigonometric.h:33
Definition JMATrigonometric.cpp:14
T1 first
Definition utility.h:7
T2 second
Definition utility.h:8
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8