playrho/1.1.2

Real-time oriented physics engine and library that's currently best suited for 2D games.
Recipe info
2024-01-13

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
playrho/1.1.2

Using playrho

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
playrho/1.1.2
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("playrho/1.1.2")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): PlayRho
  • CMake target name(s): PlayRho::PlayRho
  • pkg-config file name(s): playrho.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(PlayRho REQUIRED)
# ...
target_link_libraries(YOUR_TARGET PlayRho::PlayRho)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the playrho homepage listed above:

#include "PlayRho/Collision/AABB.hpp"
#include "PlayRho/Collision/Collision.hpp"
#include "PlayRho/Collision/ContactFeature.hpp"
#include "PlayRho/Collision/Distance.hpp"
#include "PlayRho/Collision/DistanceProxy.hpp"
#include "PlayRho/Collision/DynamicTree.hpp"
#include "PlayRho/Collision/IndexPair.hpp"
#include "PlayRho/Collision/Manifold.hpp"
#include "PlayRho/Collision/MassData.hpp"
#include "PlayRho/Collision/RayCastInput.hpp"
#include "PlayRho/Collision/RayCastOutput.hpp"
#include "PlayRho/Collision/SeparationScenario.hpp"
#include "PlayRho/Collision/ShapeSeparation.hpp"
#include "PlayRho/Collision/Shapes/ChainShapeConf.hpp"
#include "PlayRho/Collision/Shapes/DiskShapeConf.hpp"
#include "PlayRho/Collision/Shapes/EdgeShapeConf.hpp"
#include "PlayRho/Collision/Shapes/MultiShapeConf.hpp"
#include "PlayRho/Collision/Shapes/PolygonShapeConf.hpp"
#include "PlayRho/Collision/Shapes/Shape.hpp"
#include "PlayRho/Collision/Shapes/ShapeConf.hpp"
#include "PlayRho/Collision/Simplex.hpp"
#include "PlayRho/Collision/SimplexEdge.hpp"
#include "PlayRho/Collision/TimeOfImpact.hpp"
#include "PlayRho/Collision/WorldManifold.hpp"
#include "PlayRho/Common/Acceleration.hpp"
#include "PlayRho/Common/AllocatedArray.hpp"
#include "PlayRho/Common/ArrayAllocator.hpp"
#include "PlayRho/Common/ArrayList.hpp"
#include "PlayRho/Common/BlockAllocator.hpp"
#include "PlayRho/Common/CheckedValue.hpp"
#include "PlayRho/Common/CodeDumper.hpp"
#include "PlayRho/Common/DynamicMemory.hpp"
#include "PlayRho/Common/Finite.hpp"
#include "PlayRho/Common/Fixed.hpp"
#include "PlayRho/Common/FixedLimits.hpp"
#include "PlayRho/Common/FixedMath.hpp"
#include "PlayRho/Common/FlagGuard.hpp"
#include "PlayRho/Common/GrowableStack.hpp"
#include "PlayRho/Common/IndexingNamedType.hpp"
#include "PlayRho/Common/Interval.hpp"
#include "PlayRho/Common/Intervals.hpp"
#include "PlayRho/Common/InvalidArgument.hpp"
#include "PlayRho/Common/LengthError.hpp"
#include "PlayRho/Common/Math.hpp"
#include "PlayRho/Common/Matrix.hpp"
#include "PlayRho/Common/Negative.hpp"
#include "PlayRho/Common/NonNegative.hpp"
#include "PlayRho/Common/NonPositive.hpp"
#include "PlayRho/Common/NonZero.hpp"
#include "PlayRho/Common/Position.hpp"
#include "PlayRho/Common/Positive.hpp"
#include "PlayRho/Common/Range.hpp"
#include "PlayRho/Common/Real.hpp"
#include "PlayRho/Common/RealConstants.hpp"
#include "PlayRho/Common/Settings.hpp"
#include "PlayRho/Common/Span.hpp"
#include "PlayRho/Common/StackAllocator.hpp"
#include "PlayRho/Common/Sweep.hpp"
#include "PlayRho/Common/Templates.hpp"
#include "PlayRho/Common/Transformation.hpp"
#include "PlayRho/Common/TypeInfo.hpp"
#include "PlayRho/Common/UnitInterval.hpp"
#include "PlayRho/Common/UnitVec.hpp"
#include "PlayRho/Common/Units.hpp"
#include "PlayRho/Common/Vector.hpp"
#include "PlayRho/Common/Vector2.hpp"
#include "PlayRho/Common/Vector3.hpp"
#include "PlayRho/Common/Velocity.hpp"
#include "PlayRho/Common/Version.hpp"
#include "PlayRho/Common/VertexSet.hpp"
#include "PlayRho/Common/Wider.hpp"
#include "PlayRho/Common/WrongState.hpp"
#include "PlayRho/Common/propagate_const.hpp"
#include "PlayRho/Defines.hpp"
#include "PlayRho/Dynamics/Body.hpp"
#include "PlayRho/Dynamics/BodyConf.hpp"
#include "PlayRho/Dynamics/BodyID.hpp"
#include "PlayRho/Dynamics/BodyType.hpp"
#include "PlayRho/Dynamics/ContactImpulsesList.hpp"
#include "PlayRho/Dynamics/Contacts/BodyConstraint.hpp"
#include "PlayRho/Dynamics/Contacts/ConstraintSolverConf.hpp"
#include "PlayRho/Dynamics/Contacts/Contact.hpp"
#include "PlayRho/Dynamics/Contacts/ContactID.hpp"
#include "PlayRho/Dynamics/Contacts/ContactKey.hpp"
#include "PlayRho/Dynamics/Contacts/ContactSolver.hpp"
#include "PlayRho/Dynamics/Contacts/KeyedContactID.hpp"
#include "PlayRho/Dynamics/Contacts/PositionConstraint.hpp"
#include "PlayRho/Dynamics/Contacts/PositionSolverManifold.hpp"
#include "PlayRho/Dynamics/Contacts/VelocityConstraint.hpp"
#include "PlayRho/Dynamics/Filter.hpp"
#include "PlayRho/Dynamics/FixtureConf.hpp"
#include "PlayRho/Dynamics/FixtureID.hpp"
#include "PlayRho/Dynamics/Island.hpp"
#include "PlayRho/Dynamics/IslandStats.hpp"
#include "PlayRho/Dynamics/Joints/DistanceJointConf.hpp"
#include "PlayRho/Dynamics/Joints/FrictionJointConf.hpp"
#include "PlayRho/Dynamics/Joints/GearJointConf.hpp"
#include "PlayRho/Dynamics/Joints/Joint.hpp"
#include "PlayRho/Dynamics/Joints/JointConf.hpp"
#include "PlayRho/Dynamics/Joints/JointID.hpp"
#include "PlayRho/Dynamics/Joints/JointKey.hpp"
#include "PlayRho/Dynamics/Joints/LimitState.hpp"
#include "PlayRho/Dynamics/Joints/MotorJointConf.hpp"
#include "PlayRho/Dynamics/Joints/PrismaticJointConf.hpp"
#include "PlayRho/Dynamics/Joints/PulleyJointConf.hpp"
#include "PlayRho/Dynamics/Joints/RevoluteJointConf.hpp"
#include "PlayRho/Dynamics/Joints/RopeJointConf.hpp"
#include "PlayRho/Dynamics/Joints/TargetJointConf.hpp"
#include "PlayRho/Dynamics/Joints/WeldJointConf.hpp"
#include "PlayRho/Dynamics/Joints/WheelJointConf.hpp"
#include "PlayRho/Dynamics/MovementConf.hpp"
#include "PlayRho/Dynamics/StepConf.hpp"
#include "PlayRho/Dynamics/StepStats.hpp"
#include "PlayRho/Dynamics/World.hpp"
#include "PlayRho/Dynamics/WorldBody.hpp"
#include "PlayRho/Dynamics/WorldConf.hpp"
#include "PlayRho/Dynamics/WorldContact.hpp"
#include "PlayRho/Dynamics/WorldFixture.hpp"
#include "PlayRho/Dynamics/WorldImpl.hpp"
#include "PlayRho/Dynamics/WorldImplBody.hpp"
#include "PlayRho/Dynamics/WorldImplContact.hpp"
#include "PlayRho/Dynamics/WorldImplFixture.hpp"
#include "PlayRho/Dynamics/WorldImplJoint.hpp"
#include "PlayRho/Dynamics/WorldImplMisc.hpp"
#include "PlayRho/Dynamics/WorldJoint.hpp"
#include "PlayRho/Dynamics/WorldMisc.hpp"
#include "PlayRho/PlayRho.hpp"