config.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*************************************/
  2. /* Auteur : Rémi Synave */
  3. /* Date de création : 23/02/10 */
  4. /* Date de modification : 25/02/10 */
  5. /* Version : 0.4 */
  6. /*************************************/
  7. /***************************************************************************/
  8. /* This file is part of a2ri. */
  9. /* */
  10. /* a2ri is free software: you can redistribute it and/or modify it */
  11. /* under the terms of the GNU Lesser General Public License as published */
  12. /* by the Free Software Foundation, either version 3 of the License, or */
  13. /* (at your option) any later version. */
  14. /* */
  15. /* a2ri is distributed in the hope that it will be useful, */
  16. /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
  17. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
  18. /* GNU Lesser General Public License for more details. */
  19. /* */
  20. /* You should have received a copy of the GNU Lesser General Public */
  21. /* License along with a2ri. */
  22. /* If not, see <http://www.gnu.org/licenses/>. */
  23. /***************************************************************************/
  24. #ifndef CONFIG__H
  25. #define CONFIG__H
  26. #define A2RI_PRECISION_FLOAT 1e-10
  27. #ifndef PI
  28. #define PI 3.14159265359
  29. #endif
  30. #define A2RI_NB_THREAD 1
  31. #define GEODESIC_DENSIFICATION_NB_SUBDIV 1
  32. #endif