cdplib.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 1983-2013 Composers Desktop Project Ltd
  3. * http://www.composersdesktop.com
  4. * This file is part of the CDP System.
  5. * The CDP System is free software; you can redistribute it
  6. * and/or modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * The CDP System is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU Lesser General Public License for more details.
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with the CDP System; if not, write to the Free Software
  16. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  17. *
  18. */
  19. /* RWD now reduced to a few global defs! */
  20. /* TODO: eliminate this header entirely... */
  21. #include <math.h>
  22. #ifndef PI
  23. #define PI (3.141592653589793)
  24. #endif
  25. #ifndef TWOPI
  26. #define TWOPI (2.0 * PI)
  27. #endif