diff options
| author | Steven Fuller <relnev@icculus.org> | 2008-04-27 01:45:21 -0700 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | c3cc5eb87891c06b636409342fd86e4d8893c549 (patch) | |
| tree | ec3a39a8310ff0b11a4043a82689c2e9fc1cf515 /src/maths.c | |
| parent | d5830bb440f885878dc580e94a7364e4c5f6a044 (diff) | |
Made sin/cos tables const.
Made the sin/cos/arcsin/arccos tables const and removed the redundant
externs that were scattered about.
Diffstat (limited to 'src/maths.c')
| -rw-r--r-- | src/maths.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/maths.c b/src/maths.c index 6cdbc54..dc43618 100644 --- a/src/maths.c +++ b/src/maths.c @@ -10,12 +10,12 @@ */ -extern int sine[]; -extern int cosine[]; +extern const int sine[4096]; +extern const int cosine[4096]; -extern short ArcCosTable[]; -extern short ArcSineTable[]; -extern short ArcTanTable[]; +extern const short ArcCosTable[4096]; +extern const short ArcSineTable[4096]; +extern const short ArcTanTable[256]; extern LONGLONGCH ll_zero; |
