diff options
Diffstat (limited to 'src/tables.h')
-rw-r--r-- | src/tables.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tables.h b/src/tables.h index baf785ca..78057751 100644 --- a/src/tables.h +++ b/src/tables.h @@ -63,10 +63,13 @@ extern const fixed_t *finecosine; extern const fixed_t finetangent[FINEANGLES/2]; // Binary Angle Measument, BAM. -#define ANG45 0x20000000 -#define ANG90 0x40000000 -#define ANG180 0x80000000 -#define ANG270 0xc0000000 + +#define ANG1 0x01000000 +#define ANG45 0x20000000 +#define ANG90 0x40000000 +#define ANG180 0x80000000 +#define ANG270 0xc0000000 +#define ANG_MAX 0xffffffff #define SLOPERANGE 2048 @@ -84,10 +87,7 @@ extern const angle_t tantoangle[SLOPERANGE+1]; // Utility function, // called by R_PointToAngle. -int -SlopeDiv -( unsigned num, - unsigned den); +int SlopeDiv(unsigned int num, unsigned int den); #endif |