misc/box2d 2.4.1 MidnightBSD
2D physics engine for games
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- misc
Description
Box2D is a 2D physics engine for games.
Collision: * Continuous collision detection * Contact callbacks: begin, end, pre-solve, post-solve * Convex polygons and circles * Multiple shapes per body * One-shot contact manifolds * Dynamic tree broadphase * Efficient pair management * Fast broadphase AABB queries * Collision groups and categories
Physics: * Continuous physics with time of impact solver * Persistent body-joint-contact graph * Island solution and sleep management * Contact, friction, and restitution * Stable stacking with a linear-time solver * Revolute, prismatic, distance, pulley, gear, mouse joint, other joint types * Joint limits, motors, and friction * Momentum decoupled position correction
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | misc/box2d | 2.4.1 |
| FreeBSD | misc/box2d | 3.1.1 |
| DragonFly | misc/box2d | 2.4.1 |
Install
Binary package:
mport install Box2D
From mports:
cd /usr/mports/misc/box2d && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= Box2D>0:misc/box2d
LIB_DEPENDS= libbox2d.so:misc/box2d
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake compiler:c++11-lang pkgconfig
- Service scripts
- none
Files
pkg-plist 46
- include/box2d/b2_api.h
- include/box2d/b2_block_allocator.h
- include/box2d/b2_body.h
- include/box2d/b2_broad_phase.h
- include/box2d/b2_chain_shape.h
- include/box2d/b2_circle_shape.h
- include/box2d/b2_collision.h
- include/box2d/b2_common.h
- include/box2d/b2_contact.h
- include/box2d/b2_contact_manager.h
- include/box2d/b2_distance.h
- include/box2d/b2_distance_joint.h
- include/box2d/b2_draw.h
- include/box2d/b2_dynamic_tree.h
- include/box2d/b2_edge_shape.h
- include/box2d/b2_fixture.h
- include/box2d/b2_friction_joint.h
- include/box2d/b2_gear_joint.h
- include/box2d/b2_growable_stack.h
- include/box2d/b2_joint.h
- include/box2d/b2_math.h
- include/box2d/b2_motor_joint.h
- include/box2d/b2_mouse_joint.h
- include/box2d/b2_polygon_shape.h
- include/box2d/b2_prismatic_joint.h
- include/box2d/b2_pulley_joint.h
- include/box2d/b2_revolute_joint.h
- include/box2d/b2_rope.h
- include/box2d/b2_settings.h
- include/box2d/b2_shape.h
- include/box2d/b2_stack_allocator.h
- include/box2d/b2_time_of_impact.h
- include/box2d/b2_time_step.h
- include/box2d/b2_timer.h
- include/box2d/b2_types.h
- include/box2d/b2_weld_joint.h
- include/box2d/b2_wheel_joint.h
- include/box2d/b2_world.h
- include/box2d/b2_world_callbacks.h
- include/box2d/box2d.h
- lib/cmake/box2d/box2dConfig-.cmake
- lib/cmake/box2d/box2dConfig.cmake
- lib/cmake/box2d/box2dConfigVersion.cmake
- lib/libbox2d.so
- lib/libbox2d.so.2
- lib/libbox2d.so.2.4.1
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| erincatto-box2d-v2.4.1_GH0.tar.gz | 1.224516e+06 | d6b4650ff897ee1ead27cf77a5933ea197cbeef6705638dd181adc2e816b23c2 |