This commit is contained in:
parent
e26b5acfd3
commit
777155f9c9
5 changed files with 63 additions and 30 deletions
|
@ -13,16 +13,17 @@
|
|||
/*****************************************************************************/
|
||||
extern VECTOR upVec;
|
||||
|
||||
extern const s16 ACosTable[4097];
|
||||
//extern const s16 ACosTable[4097];
|
||||
extern const s16 SinTable[1024];
|
||||
extern const s32 OneSinTable[1024];
|
||||
//extern const s32 OneSinTable[1024];
|
||||
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
inline s32 macos(const s32 &a)
|
||||
{
|
||||
return(ACosTable[a>>1]);
|
||||
}
|
||||
|
||||
*/
|
||||
/*****************************************************************************/
|
||||
|
||||
inline s32 msin(const s32 &a)
|
||||
|
@ -66,7 +67,7 @@ inline s32 mcos(const s32 &a)
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/*
|
||||
inline s32 monesin(const s32 &a)
|
||||
{
|
||||
if (a>3071)
|
||||
|
@ -85,7 +86,7 @@ inline s32 monesin(const s32 &a)
|
|||
return(OneSinTable[a]);
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
#define msin(x) rsin((x))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue