73 lines
2.4 KiB
C
73 lines
2.4 KiB
C
|
/*
|
||
|
==============================================================================
|
||
|
|
||
|
This file is part of the JUCE library.
|
||
|
Copyright (c) 2020 - Raw Material Software Limited
|
||
|
|
||
|
JUCE is an open source library subject to commercial or open-source
|
||
|
licensing.
|
||
|
|
||
|
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
|
||
|
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
|
||
|
|
||
|
End User License Agreement: www.juce.com/juce-6-licence
|
||
|
Privacy Policy: www.juce.com/juce-privacy-policy
|
||
|
|
||
|
Or: You may also use this code under the terms of the GPL v3 (see
|
||
|
www.gnu.org/licenses).
|
||
|
|
||
|
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
|
||
|
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
|
||
|
DISCLAIMED.
|
||
|
|
||
|
==============================================================================
|
||
|
*/
|
||
|
|
||
|
|
||
|
/*******************************************************************************
|
||
|
The block below describes the properties of this module, and is read by
|
||
|
the Projucer to automatically generate project code that uses it.
|
||
|
For details about the syntax and how to create or use a module, see the
|
||
|
JUCE Module Format.md file.
|
||
|
|
||
|
|
||
|
BEGIN_JUCE_MODULE_DECLARATION
|
||
|
|
||
|
ID: juce_box2d
|
||
|
vendor: juce
|
||
|
version: 6.1.2
|
||
|
name: JUCE wrapper for the Box2D physics engine
|
||
|
description: The Box2D physics engine and some utility classes.
|
||
|
website: http://www.juce.com/juce
|
||
|
license: GPL/Commercial
|
||
|
minimumCppStandard: 14
|
||
|
|
||
|
dependencies: juce_graphics
|
||
|
|
||
|
END_JUCE_MODULE_DECLARATION
|
||
|
|
||
|
*******************************************************************************/
|
||
|
|
||
|
|
||
|
#pragma once
|
||
|
#define JUCE_BOX2D_H_INCLUDED
|
||
|
|
||
|
//==============================================================================
|
||
|
#include <juce_graphics/juce_graphics.h>
|
||
|
|
||
|
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wconversion",
|
||
|
"-Wshadow-field",
|
||
|
"-Wzero-as-null-pointer-constant",
|
||
|
"-Wsign-conversion")
|
||
|
|
||
|
#include <climits>
|
||
|
#include <cfloat>
|
||
|
|
||
|
#include "box2d/Box2D.h"
|
||
|
|
||
|
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||
|
|
||
|
#ifndef DOXYGEN // for some reason, Doxygen sees this as a re-definition of Box2DRenderer
|
||
|
#include "utils/juce_Box2DRenderer.h"
|
||
|
#endif // DOXYGEN
|