This commit is contained in:
parent
1e6fb59d99
commit
87042023f8
4 changed files with 26 additions and 29 deletions
|
@ -20,16 +20,7 @@
|
|||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
const s16 c_circle[ NO_SIN ] =
|
||||
{
|
||||
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 =
|
||||
{
|
||||
{{ONE, 0, 0},
|
||||
|
@ -37,10 +28,10 @@ const MATRIX IdentityMtx =
|
|||
{ 0, 0,ONE}},
|
||||
{ 0, 0, 0},
|
||||
};
|
||||
|
||||
*/
|
||||
/*****************************************************************************/
|
||||
|
||||
const u32 NOTNEG = ((u32)1<<(u32)31) | ((u32)1<<(u32)15);
|
||||
//const u32 NOTNEG = ((u32)1<<(u32)31) | ((u32)1<<(u32)15);
|
||||
long s_randomSeed;
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -52,6 +43,7 @@ u8 *Ret;
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
void RotateBox(sBox *B,int W,int H,int _xScale,int _yScale,int _rot)
|
||||
{
|
||||
int halfW,halfH;
|
||||
|
@ -79,3 +71,4 @@ int aspect;
|
|||
B->x3=+cw-sh; B->y3=+sw+ch;
|
||||
|
||||
}
|
||||
*/
|
|
@ -18,10 +18,11 @@
|
|||
#define SINMASK (NO_SIN - 1)
|
||||
#define COSPOS (NO_SIN / 4)
|
||||
|
||||
extern const s16 c_circle[ NO_SIN ];
|
||||
extern const MATRIX IdentityMtx;
|
||||
//extern const s16 c_circle[ NO_SIN ];
|
||||
//extern const MATRIX IdentityMtx;
|
||||
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
struct sBox
|
||||
{
|
||||
s16 x0,y0;
|
||||
|
@ -29,10 +30,10 @@ struct sBox
|
|||
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);
|
||||
//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