This commit is contained in:
parent
0e4bdb4d66
commit
094ef45f8f
5 changed files with 75 additions and 149 deletions
|
@ -19,6 +19,15 @@
|
|||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
const s16 CircleTable[ CIRCLE_TAB_MAX] =
|
||||
{
|
||||
0,25,49,74,97,120,142,162,181,197,212,225,236,244,251,254,
|
||||
255,254,251,244,236,225,212,197,181,162,142,120,97,74,49,25,
|
||||
0,-25,-49,-74,-97,-120,-142,-162,-181,-197,-212,-225,-236,-244,-251,-254,
|
||||
-255,-254,-251,-244,-236,-225,-212,-197,-181,-162,-142,-120,-97,-74,-49,-25
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
const MATRIX IdentityMtx =
|
||||
|
|
|
@ -14,26 +14,12 @@
|
|||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
#define NO_SIN 64
|
||||
#define SINMASK (NO_SIN - 1)
|
||||
#define COSPOS (NO_SIN / 4)
|
||||
#define CIRCLE_TAB_MAX 64
|
||||
#define CIRCLE_TAB_MASK 63
|
||||
extern const s16 CircleTable[ CIRCLE_TAB_MAX];
|
||||
|
||||
//extern const s16 c_circle[ NO_SIN ];
|
||||
//extern const MATRIX IdentityMtx;
|
||||
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
struct sBox
|
||||
{
|
||||
s16 x0,y0;
|
||||
s16 x1,y1;
|
||||
s16 x2,y2;
|
||||
s16 x3,y3;
|
||||
};
|
||||
*/
|
||||
/*****************************************************************************/
|
||||
u8 *MakePtr(void *BasePtr,int Offset);
|
||||
//void RotateBox(sBox *B,int W,int H,int _xScale,int _yScale,int _rot);
|
||||
|
||||
/*****************************************************************************/
|
||||
/*** Loads of inlines ********************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue