The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.1KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 6 technical preview.
  4. Copyright (c) 2020 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For this technical preview, this file is not subject to commercial licensing.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. /*******************************************************************************
  14. The block below describes the properties of this module, and is read by
  15. the Projucer to automatically generate project code that uses it.
  16. For details about the syntax and how to create or use a module, see the
  17. JUCE Module Format.txt file.
  18. BEGIN_JUCE_MODULE_DECLARATION
  19. ID: juce_box2d
  20. vendor: juce
  21. version: 6.0.0
  22. name: JUCE wrapper for the Box2D physics engine
  23. description: The Box2D physics engine and some utility classes.
  24. website: http://www.juce.com/juce
  25. license: GPL/Commercial
  26. dependencies: juce_graphics
  27. END_JUCE_MODULE_DECLARATION
  28. *******************************************************************************/
  29. #pragma once
  30. #define JUCE_BOX2D_H_INCLUDED
  31. //==============================================================================
  32. #include <juce_graphics/juce_graphics.h>
  33. JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wconversion",
  34. "-Wshadow-field",
  35. "-Wzero-as-null-pointer-constant",
  36. "-Wsign-conversion")
  37. #include <climits>
  38. #include <cfloat>
  39. #include "box2d/Box2D.h"
  40. JUCE_END_IGNORE_WARNINGS_GCC_LIKE
  41. #ifndef DOXYGEN // for some reason, Doxygen sees this as a re-definition of Box2DRenderer
  42. #include "utils/juce_Box2DRenderer.h"
  43. #endif // DOXYGEN