Changeset 43 for abuse/trunk/src/include/lisp2.hpp
- Timestamp:
- Mar 2, 2008, 1:58:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/include/lisp2.hpp
r39 r43 62 62 63 63 #define FIXED_TRIG_SIZE 360 // 360 degrees stored in table 64 extern longsin_table[FIXED_TRIG_SIZE]; // this should be filled in by external module64 extern int32_t sin_table[FIXED_TRIG_SIZE]; // this should be filled in by external module 65 65 #define TBS 1662 // atan table granularity 66 extern u nsigned short atan_table[TBS];66 extern uint16_t atan_table[TBS]; 67 67 68 68 /* ------------------------- COMPATIBILITY -------------------- */ … … 111 111 char* symbol_name (void* symbol); 112 112 int item_type (void* cell); 113 long lisp_cos(longx);114 long lisp_sin(longx);115 long lisp_atan2(long dy, longdx);113 int32_t lisp_cos(int32_t x); 114 int32_t lisp_sin(int32_t x); 115 int32_t lisp_atan2(int32_t dy, int32_t dx); 116 116 void push_onto_list(Cell *object, Cell *&list); 117 117
Note: See TracChangeset
for help on using the changeset viewer.