Fix for a crash which happened when a document couldn't be opened.
[AROS-Contrib.git] / fish / surf / fasttrig.h
blobd759d6649320d2fefdf96f6df79d48d98a3f9b63
1 #ifndef FASTTRIG_H_FILE
2 #define FASTTRIG_H_FILE
4 #ifndef MYTYPES_H_FILE
5 #include "mytypes.h"
6 #endif /* !MYTYPES_H_FILE */
8 #define MaxTrigEntries 512
9 #ifndef PI
10 #define PI 3.1415927
11 #endif /* PI */
12 extern float *sintab;
13 extern float *costab;
15 #define fsin(sdeg) sintab[sdeg]
16 #define fcos(sdeg) costab[sdeg]
18 bool InitFastTrig(/* float, int */);
20 #endif /* !FASTTRIG_H_FILE */