├── .github ├── FUNDING.yml ├── issue_template.md └── pull_request_template.md ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CMakeLists.txt ├── LICENSE ├── README.md ├── deploy_docs.sh ├── docs ├── CMakeLists.txt ├── Doxyfile.in ├── FAQ.md ├── collision.md ├── common.md ├── copycss.sh ├── dynamics.md ├── extra.css ├── hello.md ├── images │ ├── body_origin.gif │ ├── captured_toi.svg │ ├── chain_loop_inwards.svg │ ├── chain_loop_outwards.svg │ ├── chain_shape.svg │ ├── convex_concave.gif │ ├── debug_draw.png │ ├── distance.svg │ ├── distance_joint.gif │ ├── gear_joint.gif │ ├── ghost_collision.svg │ ├── ghost_vertices.svg │ ├── logo.svg │ ├── manifolds.svg │ ├── missed_toi.svg │ ├── modules.svg │ ├── overlap_test.svg │ ├── prismatic_joint.gif │ ├── pulley_joint.gif │ ├── raycast.svg │ ├── revolute_joint.gif │ ├── self_intersect.svg │ ├── skin_collision.svg │ ├── skinned_polygon.svg │ ├── testbed.png │ ├── tunneling1.svg │ ├── tunneling2.svg │ ├── wheel_joint.svg │ └── winding.svg ├── loose_ends.md ├── overview.md ├── references.md └── testbed.md ├── include └── box2d │ ├── b2_api.h │ ├── b2_block_allocator.h │ ├── b2_body.h │ ├── b2_broad_phase.h │ ├── b2_chain_shape.h │ ├── b2_circle_shape.h │ ├── b2_collision.h │ ├── b2_common.h │ ├── b2_contact.h │ ├── b2_contact_manager.h │ ├── b2_distance.h │ ├── b2_distance_joint.h │ ├── b2_draw.h │ ├── b2_dynamic_tree.h │ ├── b2_edge_shape.h │ ├── b2_fixture.h │ ├── b2_friction_joint.h │ ├── b2_gear_joint.h │ ├── b2_growable_stack.h │ ├── b2_joint.h │ ├── b2_math.h │ ├── b2_motor_joint.h │ ├── b2_mouse_joint.h │ ├── b2_polygon_shape.h │ ├── b2_prismatic_joint.h │ ├── b2_pulley_joint.h │ ├── b2_revolute_joint.h │ ├── b2_rope.h │ ├── b2_settings.h │ ├── b2_shape.h │ ├── b2_stack_allocator.h │ ├── b2_time_of_impact.h │ ├── b2_time_step.h │ ├── b2_timer.h │ ├── b2_types.h │ ├── b2_weld_joint.h │ ├── b2_wheel_joint.h │ ├── b2_world.h │ ├── b2_world_callbacks.h │ └── box2d.h ├── premake5.lua ├── src ├── CMakeLists.txt ├── collision │ ├── b2_broad_phase.cpp │ ├── b2_chain_shape.cpp │ ├── b2_circle_shape.cpp │ ├── b2_collide_circle.cpp │ ├── b2_collide_edge.cpp │ ├── b2_collide_polygon.cpp │ ├── b2_collision.cpp │ ├── b2_distance.cpp │ ├── b2_dynamic_tree.cpp │ ├── b2_edge_shape.cpp │ ├── b2_polygon_shape.cpp │ └── b2_time_of_impact.cpp ├── common │ ├── b2_block_allocator.cpp │ ├── b2_draw.cpp │ ├── b2_math.cpp │ ├── b2_settings.cpp │ ├── b2_stack_allocator.cpp │ └── b2_timer.cpp ├── dynamics │ ├── b2_body.cpp │ ├── b2_chain_circle_contact.cpp │ ├── b2_chain_circle_contact.h │ ├── b2_chain_polygon_contact.cpp │ ├── b2_chain_polygon_contact.h │ ├── b2_circle_contact.cpp │ ├── b2_circle_contact.h │ ├── b2_contact.cpp │ ├── b2_contact_manager.cpp │ ├── b2_contact_solver.cpp │ ├── b2_contact_solver.h │ ├── b2_distance_joint.cpp │ ├── b2_edge_circle_contact.cpp │ ├── b2_edge_circle_contact.h │ ├── b2_edge_polygon_contact.cpp │ ├── b2_edge_polygon_contact.h │ ├── b2_fixture.cpp │ ├── b2_friction_joint.cpp │ ├── b2_gear_joint.cpp │ ├── b2_island.cpp │ ├── b2_island.h │ ├── b2_joint.cpp │ ├── b2_motor_joint.cpp │ ├── b2_mouse_joint.cpp │ ├── b2_polygon_circle_contact.cpp │ ├── b2_polygon_circle_contact.h │ ├── b2_polygon_contact.cpp │ ├── b2_polygon_contact.h │ ├── b2_prismatic_joint.cpp │ ├── b2_pulley_joint.cpp │ ├── b2_revolute_joint.cpp │ ├── b2_weld_joint.cpp │ ├── b2_wheel_joint.cpp │ ├── b2_world.cpp │ └── b2_world_callbacks.cpp └── rope │ └── b2_rope.cpp ├── testbed ├── CMakeLists.txt ├── MacOSXBundleInfo.plist.in ├── data │ └── droid_sans.ttf ├── draw.cpp ├── draw.h ├── imgui_impl_glfw.cpp ├── imgui_impl_glfw.h ├── imgui_impl_opengl3.cpp ├── imgui_impl_opengl3.h ├── main.cpp ├── settings.cpp ├── settings.h ├── test.cpp ├── test.h └── tests │ ├── add_pair.cpp │ ├── apply_force.cpp │ ├── body_types.cpp │ ├── box_stack.cpp │ ├── breakable.cpp │ ├── bridge.cpp │ ├── bullet_test.cpp │ ├── cantilever.cpp │ ├── car.cpp │ ├── chain.cpp │ ├── chain_problem.cpp │ ├── character_collision.cpp │ ├── circle_stack.cpp │ ├── collision_filtering.cpp │ ├── collision_processing.cpp │ ├── compound_shapes.cpp │ ├── confined.cpp │ ├── continuous_test.cpp │ ├── convex_hull.cpp │ ├── conveyor_belt.cpp │ ├── distance_joint.cpp │ ├── distance_test.cpp │ ├── dominos.cpp │ ├── dump_loader.cpp │ ├── dynamic_tree.cpp │ ├── edge_shapes.cpp │ ├── edge_test.cpp │ ├── friction.cpp │ ├── gear_joint.cpp │ ├── heavy1.cpp │ ├── heavy2.cpp │ ├── mobile_balanced.cpp │ ├── mobile_unbalanced.cpp │ ├── motor_joint.cpp │ ├── pinball.cpp │ ├── platformer.cpp │ ├── polygon_collision.cpp │ ├── polygon_shapes.cpp │ ├── prismatic_joint.cpp │ ├── pulley_joint.cpp │ ├── pyramid.cpp │ ├── ray_cast.cpp │ ├── restitution.cpp │ ├── revolute_joint.cpp │ ├── rope.cpp │ ├── sensor.cpp │ ├── shape_cast.cpp │ ├── shape_editing.cpp │ ├── skier.cpp │ ├── slider_crank_1.cpp │ ├── slider_crank_2.cpp │ ├── theo_jansen.cpp │ ├── tiles.cpp │ ├── time_of_impact.cpp │ ├── tumbler.cpp │ ├── web.cpp │ ├── wheel_joint.cpp │ └── wrecking_ball.cpp └── unit-test ├── CMakeLists.txt ├── collision_test.cpp ├── doctest.h ├── hello_world.cpp ├── joint_test.cpp ├── math_test.cpp └── world_test.cpp /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/.github/issue_template.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/README.md -------------------------------------------------------------------------------- /deploy_docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/deploy_docs.sh -------------------------------------------------------------------------------- /docs/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/CMakeLists.txt -------------------------------------------------------------------------------- /docs/Doxyfile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/Doxyfile.in -------------------------------------------------------------------------------- /docs/FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/FAQ.md -------------------------------------------------------------------------------- /docs/collision.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/collision.md -------------------------------------------------------------------------------- /docs/common.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/common.md -------------------------------------------------------------------------------- /docs/copycss.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | cp *.css ../build/docs/html/ 3 | -------------------------------------------------------------------------------- /docs/dynamics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/dynamics.md -------------------------------------------------------------------------------- /docs/extra.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/extra.css -------------------------------------------------------------------------------- /docs/hello.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/hello.md -------------------------------------------------------------------------------- /docs/images/body_origin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/body_origin.gif -------------------------------------------------------------------------------- /docs/images/captured_toi.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/captured_toi.svg -------------------------------------------------------------------------------- /docs/images/chain_loop_inwards.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/chain_loop_inwards.svg -------------------------------------------------------------------------------- /docs/images/chain_loop_outwards.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/chain_loop_outwards.svg -------------------------------------------------------------------------------- /docs/images/chain_shape.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/chain_shape.svg -------------------------------------------------------------------------------- /docs/images/convex_concave.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/convex_concave.gif -------------------------------------------------------------------------------- /docs/images/debug_draw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/debug_draw.png -------------------------------------------------------------------------------- /docs/images/distance.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/distance.svg -------------------------------------------------------------------------------- /docs/images/distance_joint.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/distance_joint.gif -------------------------------------------------------------------------------- /docs/images/gear_joint.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/gear_joint.gif -------------------------------------------------------------------------------- /docs/images/ghost_collision.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/ghost_collision.svg -------------------------------------------------------------------------------- /docs/images/ghost_vertices.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/ghost_vertices.svg -------------------------------------------------------------------------------- /docs/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/logo.svg -------------------------------------------------------------------------------- /docs/images/manifolds.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/manifolds.svg -------------------------------------------------------------------------------- /docs/images/missed_toi.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/missed_toi.svg -------------------------------------------------------------------------------- /docs/images/modules.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/modules.svg -------------------------------------------------------------------------------- /docs/images/overlap_test.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/overlap_test.svg -------------------------------------------------------------------------------- /docs/images/prismatic_joint.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/prismatic_joint.gif -------------------------------------------------------------------------------- /docs/images/pulley_joint.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/pulley_joint.gif -------------------------------------------------------------------------------- /docs/images/raycast.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/raycast.svg -------------------------------------------------------------------------------- /docs/images/revolute_joint.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/revolute_joint.gif -------------------------------------------------------------------------------- /docs/images/self_intersect.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/self_intersect.svg -------------------------------------------------------------------------------- /docs/images/skin_collision.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/skin_collision.svg -------------------------------------------------------------------------------- /docs/images/skinned_polygon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/skinned_polygon.svg -------------------------------------------------------------------------------- /docs/images/testbed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/testbed.png -------------------------------------------------------------------------------- /docs/images/tunneling1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/tunneling1.svg -------------------------------------------------------------------------------- /docs/images/tunneling2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/tunneling2.svg -------------------------------------------------------------------------------- /docs/images/wheel_joint.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/wheel_joint.svg -------------------------------------------------------------------------------- /docs/images/winding.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/images/winding.svg -------------------------------------------------------------------------------- /docs/loose_ends.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/loose_ends.md -------------------------------------------------------------------------------- /docs/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/overview.md -------------------------------------------------------------------------------- /docs/references.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/references.md -------------------------------------------------------------------------------- /docs/testbed.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/docs/testbed.md -------------------------------------------------------------------------------- /include/box2d/b2_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_api.h -------------------------------------------------------------------------------- /include/box2d/b2_block_allocator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_block_allocator.h -------------------------------------------------------------------------------- /include/box2d/b2_body.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_body.h -------------------------------------------------------------------------------- /include/box2d/b2_broad_phase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_broad_phase.h -------------------------------------------------------------------------------- /include/box2d/b2_chain_shape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_chain_shape.h -------------------------------------------------------------------------------- /include/box2d/b2_circle_shape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_circle_shape.h -------------------------------------------------------------------------------- /include/box2d/b2_collision.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_collision.h -------------------------------------------------------------------------------- /include/box2d/b2_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_common.h -------------------------------------------------------------------------------- /include/box2d/b2_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_contact.h -------------------------------------------------------------------------------- /include/box2d/b2_contact_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_contact_manager.h -------------------------------------------------------------------------------- /include/box2d/b2_distance.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_distance.h -------------------------------------------------------------------------------- /include/box2d/b2_distance_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_distance_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_draw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_draw.h -------------------------------------------------------------------------------- /include/box2d/b2_dynamic_tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_dynamic_tree.h -------------------------------------------------------------------------------- /include/box2d/b2_edge_shape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_edge_shape.h -------------------------------------------------------------------------------- /include/box2d/b2_fixture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_fixture.h -------------------------------------------------------------------------------- /include/box2d/b2_friction_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_friction_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_gear_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_gear_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_growable_stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_growable_stack.h -------------------------------------------------------------------------------- /include/box2d/b2_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_math.h -------------------------------------------------------------------------------- /include/box2d/b2_motor_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_motor_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_mouse_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_mouse_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_polygon_shape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_polygon_shape.h -------------------------------------------------------------------------------- /include/box2d/b2_prismatic_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_prismatic_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_pulley_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_pulley_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_revolute_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_revolute_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_rope.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_rope.h -------------------------------------------------------------------------------- /include/box2d/b2_settings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_settings.h -------------------------------------------------------------------------------- /include/box2d/b2_shape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_shape.h -------------------------------------------------------------------------------- /include/box2d/b2_stack_allocator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_stack_allocator.h -------------------------------------------------------------------------------- /include/box2d/b2_time_of_impact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_time_of_impact.h -------------------------------------------------------------------------------- /include/box2d/b2_time_step.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_time_step.h -------------------------------------------------------------------------------- /include/box2d/b2_timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_timer.h -------------------------------------------------------------------------------- /include/box2d/b2_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_types.h -------------------------------------------------------------------------------- /include/box2d/b2_weld_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_weld_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_wheel_joint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_wheel_joint.h -------------------------------------------------------------------------------- /include/box2d/b2_world.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_world.h -------------------------------------------------------------------------------- /include/box2d/b2_world_callbacks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/b2_world_callbacks.h -------------------------------------------------------------------------------- /include/box2d/box2d.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/include/box2d/box2d.h -------------------------------------------------------------------------------- /premake5.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/premake5.lua -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/collision/b2_broad_phase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_broad_phase.cpp -------------------------------------------------------------------------------- /src/collision/b2_chain_shape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_chain_shape.cpp -------------------------------------------------------------------------------- /src/collision/b2_circle_shape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_circle_shape.cpp -------------------------------------------------------------------------------- /src/collision/b2_collide_circle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_collide_circle.cpp -------------------------------------------------------------------------------- /src/collision/b2_collide_edge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_collide_edge.cpp -------------------------------------------------------------------------------- /src/collision/b2_collide_polygon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_collide_polygon.cpp -------------------------------------------------------------------------------- /src/collision/b2_collision.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_collision.cpp -------------------------------------------------------------------------------- /src/collision/b2_distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_distance.cpp -------------------------------------------------------------------------------- /src/collision/b2_dynamic_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_dynamic_tree.cpp -------------------------------------------------------------------------------- /src/collision/b2_edge_shape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_edge_shape.cpp -------------------------------------------------------------------------------- /src/collision/b2_polygon_shape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_polygon_shape.cpp -------------------------------------------------------------------------------- /src/collision/b2_time_of_impact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/collision/b2_time_of_impact.cpp -------------------------------------------------------------------------------- /src/common/b2_block_allocator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/common/b2_block_allocator.cpp -------------------------------------------------------------------------------- /src/common/b2_draw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/common/b2_draw.cpp -------------------------------------------------------------------------------- /src/common/b2_math.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/common/b2_math.cpp -------------------------------------------------------------------------------- /src/common/b2_settings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/common/b2_settings.cpp -------------------------------------------------------------------------------- /src/common/b2_stack_allocator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/common/b2_stack_allocator.cpp -------------------------------------------------------------------------------- /src/common/b2_timer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/common/b2_timer.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_body.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_body.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_chain_circle_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_chain_circle_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_chain_circle_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_chain_circle_contact.h -------------------------------------------------------------------------------- /src/dynamics/b2_chain_polygon_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_chain_polygon_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_chain_polygon_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_chain_polygon_contact.h -------------------------------------------------------------------------------- /src/dynamics/b2_circle_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_circle_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_circle_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_circle_contact.h -------------------------------------------------------------------------------- /src/dynamics/b2_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_contact_manager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_contact_manager.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_contact_solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_contact_solver.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_contact_solver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_contact_solver.h -------------------------------------------------------------------------------- /src/dynamics/b2_distance_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_distance_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_edge_circle_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_edge_circle_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_edge_circle_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_edge_circle_contact.h -------------------------------------------------------------------------------- /src/dynamics/b2_edge_polygon_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_edge_polygon_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_edge_polygon_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_edge_polygon_contact.h -------------------------------------------------------------------------------- /src/dynamics/b2_fixture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_fixture.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_friction_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_friction_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_gear_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_gear_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_island.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_island.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_island.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_island.h -------------------------------------------------------------------------------- /src/dynamics/b2_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_motor_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_motor_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_mouse_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_mouse_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_polygon_circle_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_polygon_circle_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_polygon_circle_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_polygon_circle_contact.h -------------------------------------------------------------------------------- /src/dynamics/b2_polygon_contact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_polygon_contact.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_polygon_contact.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_polygon_contact.h -------------------------------------------------------------------------------- /src/dynamics/b2_prismatic_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_prismatic_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_pulley_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_pulley_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_revolute_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_revolute_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_weld_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_weld_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_wheel_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_wheel_joint.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_world.cpp -------------------------------------------------------------------------------- /src/dynamics/b2_world_callbacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/dynamics/b2_world_callbacks.cpp -------------------------------------------------------------------------------- /src/rope/b2_rope.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/src/rope/b2_rope.cpp -------------------------------------------------------------------------------- /testbed/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/CMakeLists.txt -------------------------------------------------------------------------------- /testbed/MacOSXBundleInfo.plist.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/MacOSXBundleInfo.plist.in -------------------------------------------------------------------------------- /testbed/data/droid_sans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/data/droid_sans.ttf -------------------------------------------------------------------------------- /testbed/draw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/draw.cpp -------------------------------------------------------------------------------- /testbed/draw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/draw.h -------------------------------------------------------------------------------- /testbed/imgui_impl_glfw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/imgui_impl_glfw.cpp -------------------------------------------------------------------------------- /testbed/imgui_impl_glfw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/imgui_impl_glfw.h -------------------------------------------------------------------------------- /testbed/imgui_impl_opengl3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/imgui_impl_opengl3.cpp -------------------------------------------------------------------------------- /testbed/imgui_impl_opengl3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/imgui_impl_opengl3.h -------------------------------------------------------------------------------- /testbed/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/main.cpp -------------------------------------------------------------------------------- /testbed/settings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/settings.cpp -------------------------------------------------------------------------------- /testbed/settings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/settings.h -------------------------------------------------------------------------------- /testbed/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/test.cpp -------------------------------------------------------------------------------- /testbed/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/test.h -------------------------------------------------------------------------------- /testbed/tests/add_pair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/add_pair.cpp -------------------------------------------------------------------------------- /testbed/tests/apply_force.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/apply_force.cpp -------------------------------------------------------------------------------- /testbed/tests/body_types.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/body_types.cpp -------------------------------------------------------------------------------- /testbed/tests/box_stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/box_stack.cpp -------------------------------------------------------------------------------- /testbed/tests/breakable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/breakable.cpp -------------------------------------------------------------------------------- /testbed/tests/bridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/bridge.cpp -------------------------------------------------------------------------------- /testbed/tests/bullet_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/bullet_test.cpp -------------------------------------------------------------------------------- /testbed/tests/cantilever.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/cantilever.cpp -------------------------------------------------------------------------------- /testbed/tests/car.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/car.cpp -------------------------------------------------------------------------------- /testbed/tests/chain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/chain.cpp -------------------------------------------------------------------------------- /testbed/tests/chain_problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/chain_problem.cpp -------------------------------------------------------------------------------- /testbed/tests/character_collision.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/character_collision.cpp -------------------------------------------------------------------------------- /testbed/tests/circle_stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/circle_stack.cpp -------------------------------------------------------------------------------- /testbed/tests/collision_filtering.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/collision_filtering.cpp -------------------------------------------------------------------------------- /testbed/tests/collision_processing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/collision_processing.cpp -------------------------------------------------------------------------------- /testbed/tests/compound_shapes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/compound_shapes.cpp -------------------------------------------------------------------------------- /testbed/tests/confined.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/confined.cpp -------------------------------------------------------------------------------- /testbed/tests/continuous_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/continuous_test.cpp -------------------------------------------------------------------------------- /testbed/tests/convex_hull.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/convex_hull.cpp -------------------------------------------------------------------------------- /testbed/tests/conveyor_belt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/conveyor_belt.cpp -------------------------------------------------------------------------------- /testbed/tests/distance_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/distance_joint.cpp -------------------------------------------------------------------------------- /testbed/tests/distance_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/distance_test.cpp -------------------------------------------------------------------------------- /testbed/tests/dominos.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/dominos.cpp -------------------------------------------------------------------------------- /testbed/tests/dump_loader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/dump_loader.cpp -------------------------------------------------------------------------------- /testbed/tests/dynamic_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/dynamic_tree.cpp -------------------------------------------------------------------------------- /testbed/tests/edge_shapes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/edge_shapes.cpp -------------------------------------------------------------------------------- /testbed/tests/edge_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/edge_test.cpp -------------------------------------------------------------------------------- /testbed/tests/friction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/friction.cpp -------------------------------------------------------------------------------- /testbed/tests/gear_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/gear_joint.cpp -------------------------------------------------------------------------------- /testbed/tests/heavy1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/heavy1.cpp -------------------------------------------------------------------------------- /testbed/tests/heavy2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/heavy2.cpp -------------------------------------------------------------------------------- /testbed/tests/mobile_balanced.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/mobile_balanced.cpp -------------------------------------------------------------------------------- /testbed/tests/mobile_unbalanced.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/mobile_unbalanced.cpp -------------------------------------------------------------------------------- /testbed/tests/motor_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/motor_joint.cpp -------------------------------------------------------------------------------- /testbed/tests/pinball.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/pinball.cpp -------------------------------------------------------------------------------- /testbed/tests/platformer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/platformer.cpp -------------------------------------------------------------------------------- /testbed/tests/polygon_collision.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/polygon_collision.cpp -------------------------------------------------------------------------------- /testbed/tests/polygon_shapes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/polygon_shapes.cpp -------------------------------------------------------------------------------- /testbed/tests/prismatic_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/prismatic_joint.cpp -------------------------------------------------------------------------------- /testbed/tests/pulley_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/pulley_joint.cpp -------------------------------------------------------------------------------- /testbed/tests/pyramid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/pyramid.cpp -------------------------------------------------------------------------------- /testbed/tests/ray_cast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/ray_cast.cpp -------------------------------------------------------------------------------- /testbed/tests/restitution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/restitution.cpp -------------------------------------------------------------------------------- /testbed/tests/revolute_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/revolute_joint.cpp -------------------------------------------------------------------------------- /testbed/tests/rope.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/rope.cpp -------------------------------------------------------------------------------- /testbed/tests/sensor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/sensor.cpp -------------------------------------------------------------------------------- /testbed/tests/shape_cast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/shape_cast.cpp -------------------------------------------------------------------------------- /testbed/tests/shape_editing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/shape_editing.cpp -------------------------------------------------------------------------------- /testbed/tests/skier.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/skier.cpp -------------------------------------------------------------------------------- /testbed/tests/slider_crank_1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/slider_crank_1.cpp -------------------------------------------------------------------------------- /testbed/tests/slider_crank_2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/slider_crank_2.cpp -------------------------------------------------------------------------------- /testbed/tests/theo_jansen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/theo_jansen.cpp -------------------------------------------------------------------------------- /testbed/tests/tiles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/tiles.cpp -------------------------------------------------------------------------------- /testbed/tests/time_of_impact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/time_of_impact.cpp -------------------------------------------------------------------------------- /testbed/tests/tumbler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/tumbler.cpp -------------------------------------------------------------------------------- /testbed/tests/web.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/web.cpp -------------------------------------------------------------------------------- /testbed/tests/wheel_joint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/wheel_joint.cpp -------------------------------------------------------------------------------- /testbed/tests/wrecking_ball.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/testbed/tests/wrecking_ball.cpp -------------------------------------------------------------------------------- /unit-test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/unit-test/CMakeLists.txt -------------------------------------------------------------------------------- /unit-test/collision_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/unit-test/collision_test.cpp -------------------------------------------------------------------------------- /unit-test/doctest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/unit-test/doctest.h -------------------------------------------------------------------------------- /unit-test/hello_world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/unit-test/hello_world.cpp -------------------------------------------------------------------------------- /unit-test/joint_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/unit-test/joint_test.cpp -------------------------------------------------------------------------------- /unit-test/math_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/unit-test/math_test.cpp -------------------------------------------------------------------------------- /unit-test/world_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheCherno/box2d/HEAD/unit-test/world_test.cpp --------------------------------------------------------------------------------