trig.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* $Id$
  2. * MegaZeux
  3. *
  4. * Copyright (C) 1996 Greg Janson
  5. * Copyright (C) 1998 Matthew D. Williams - dbwilli@scsn.net
  6. * Copyright (C) 1999 Charles Goetzman
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21. */
  22. /* Declarations for TRIG.ASM */
  23. #ifndef TRIG_H
  24. extern int far multiplier;
  25. extern int far divider;
  26. extern int far c_divisions;
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30. int far sin(int theta);
  31. int far cos(int theta);
  32. int far tan(int theta);
  33. int far asin(int val);
  34. int far acos(int val);
  35. int far atan(int val);
  36. #endif
  37. #ifdef __cplusplus
  38. }
  39. #endif