25bd5d8adb
subrepo: subdir: "deps/juce" merged: "b13f9084e" upstream: origin: "https://github.com/essej/JUCE.git" branch: "sono6good" commit: "b13f9084e" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
106 lines
4.3 KiB
C++
106 lines
4.3 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.
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
#ifdef JUCE_BOX2D_H_INCLUDED
|
|
/* When you add this cpp file to your project, you mustn't include it in a file where you've
|
|
already included any other headers - just put it inside a file on its own, possibly with your config
|
|
flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
|
|
header files that the compiler may be using.
|
|
*/
|
|
#error "Incorrect use of JUCE cpp file"
|
|
#endif
|
|
|
|
#include "juce_box2d.h"
|
|
|
|
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (6011)
|
|
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wconversion",
|
|
"-Wsign-conversion",
|
|
"-Wfloat-conversion",
|
|
"-Wcast-align",
|
|
"-Wswitch-enum",
|
|
"-Wswitch-default",
|
|
"-Wunused-but-set-variable",
|
|
"-Wzero-as-null-pointer-constant")
|
|
|
|
#include <cstdarg>
|
|
|
|
using int8 = juce::int8;
|
|
using int16 = juce::int16;
|
|
using int32 = juce::int32;
|
|
using uint8 = juce::uint8;
|
|
using uint16 = juce::uint16;
|
|
using uint32 = juce::uint32;
|
|
|
|
#include "box2d/Collision/b2BroadPhase.cpp"
|
|
#include "box2d/Collision/b2CollideCircle.cpp"
|
|
#include "box2d/Collision/b2CollideEdge.cpp"
|
|
#include "box2d/Collision/b2CollidePolygon.cpp"
|
|
#include "box2d/Collision/b2Collision.cpp"
|
|
#include "box2d/Collision/b2Distance.cpp"
|
|
#include "box2d/Collision/b2DynamicTree.cpp"
|
|
#include "box2d/Collision/b2TimeOfImpact.cpp"
|
|
#include "box2d/Collision/Shapes/b2ChainShape.cpp"
|
|
#include "box2d/Collision/Shapes/b2CircleShape.cpp"
|
|
#include "box2d/Collision/Shapes/b2EdgeShape.cpp"
|
|
#include "box2d/Collision/Shapes/b2PolygonShape.cpp"
|
|
#include "box2d/Common/b2BlockAllocator.cpp"
|
|
#include "box2d/Common/b2Draw.cpp"
|
|
#include "box2d/Common/b2Math.cpp"
|
|
#include "box2d/Common/b2Settings.cpp"
|
|
#include "box2d/Common/b2StackAllocator.cpp"
|
|
#include "box2d/Common/b2Timer.cpp"
|
|
#include "box2d/Dynamics/b2Body.cpp"
|
|
#include "box2d/Dynamics/b2ContactManager.cpp"
|
|
#include "box2d/Dynamics/b2Fixture.cpp"
|
|
#include "box2d/Dynamics/b2Island.cpp"
|
|
#include "box2d/Dynamics/b2World.cpp"
|
|
#include "box2d/Dynamics/b2WorldCallbacks.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2ChainAndCircleContact.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2ChainAndPolygonContact.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2CircleContact.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2Contact.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2ContactSolver.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2EdgeAndCircleContact.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2EdgeAndPolygonContact.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2PolygonAndCircleContact.cpp"
|
|
#include "box2d/Dynamics/Contacts/b2PolygonContact.cpp"
|
|
#include "box2d/Dynamics/Joints/b2DistanceJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2FrictionJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2GearJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2Joint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2MouseJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2PrismaticJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2PulleyJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2RevoluteJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2RopeJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2WeldJoint.cpp"
|
|
#include "box2d/Dynamics/Joints/b2WheelJoint.cpp"
|
|
#include "box2d/Rope/b2Rope.cpp"
|
|
|
|
#include "utils/juce_Box2DRenderer.cpp"
|
|
|
|
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
|
JUCE_END_IGNORE_WARNINGS_MSVC
|