MCPcopy Index your code
hub / github.com/dimforge/parry

github.com/dimforge/parry @v0.29.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.29.0 ↗ · + Follow
2,060 symbols 5,809 edges 414 files 808 documented · 39%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

crates.io

<a href="https://discord.gg/vt9DJSW">
    <img src="https://img.shields.io/discord/507548572338880513.svg?logo=discord&colorB=7289DA">
</a>
<a href="https://crates.io/crates/parry2d">
     <img src="https://img.shields.io/crates/v/parry2d.svg?style=flat-square" alt="crates.io">
</a>
<a href="https://crates.io/crates/parry3d">
     <img src="https://img.shields.io/crates/v/parry3d.svg?style=flat-square" alt="crates.io">
</a>

<strong>
    <a href="http://docs.rs/parry2d">2D Documentation</a> | <a href="http://docs.rs/parry3d">3D Documentation</a> | <a href="http://parry.rs">User Guide</a>
</strong>

What is Parry?

Parry is a set 2 and 3-dimensional geometric and collision detection libraries. These libraries are parry2d, parry3d, parry2d-f64, and parry3d-f64. They are written with the Rust programming language, by the Dimforge organization. It is forever free and open-source! We regularly give updates about our progress on our blog.

Resources and discussions

  • Dimforge: See all the open-source projects we are working on! Follow our announcements on our blog.
  • User guide: (WIP) Learn to use Parry in your project by reading the official User Guide.
  • Discord: Come chat with us, get help, suggest features, on Discord!

Extension points exported contracts — how you extend this code

WSign (Interface)
Trait to copy the sign of each component of one scalar/vector/matrix to another. [6 implementers]
src/utils/wops.rs
RayCast (Interface)
Traits of objects which can be transformed and tested for intersection with a ray. [20 implementers]
src/query/ray/ray.rs
SupportMap (Interface)
Trait for convex shapes representable by a support mapping function. A support map is a function that returns the point [14 …
src/shape/support_map.rs
BvhLeafCost (Interface)
Cost associated to a BVH leaf during best-first traversal. [4 implementers]
src/partitioning/bvh/bvh_traverse.rs
DefaultGen (Interface)
(no doc) [13 implementers]
crates/parry3d/benches/common/default_gen.rs
BoundingVolume (Interface)
Trait of bounding volumes. Bounding volumes are coarse approximations of shapes. It usually have constant time intersec [2 …
src/bounding_volume/bounding_volume.rs
VectorExt (Interface)
Extension trait for glam vector types to provide additional functionality. [1 implementers]
src/math/vector_ext.rs
PoseOpt (Interface)
Various operations usable with `Option ` and `Option<&Pose>` where `None` is assumed to be equivalent to the identi [2 …
src/utils/isometry_ops.rs

Core symbols most depended-on inside this repo

len
called by 169
src/utils/vec_map.rs
unwrap
called by 165
src/utils/hashable_partial_eq.rs
iter
called by 164
src/utils/vec_map.rs
vget
called by 117
src/math/vector_ext.rs
len
called by 98
src/transformation/voxelization/voxel_set.rs
insert
called by 79
src/utils/vec_map.rs
max
called by 69
src/utils/array2.rs
is_leaf
called by 58
src/partitioning/bvh/bvh_tree.rs

Shape

Method 1,276
Function 563
Class 155
Enum 40
Interface 26

Languages

Rust100%

Modules by API surface

src/utils/vec_map.rs92 symbols
src/shape/shape.rs74 symbols
src/shape/trimesh.rs60 symbols
src/partitioning/bvh/bvh_tree.rs54 symbols
src/shape/heightfield3.rs50 symbols
src/shape/shared_shape.rs46 symbols
src/bounding_volume/aabb.rs44 symbols
src/shape/triangle.rs38 symbols
src/shape/voxels/voxels.rs33 symbols
src/shape/polyline.rs33 symbols
src/utils/interval.rs32 symbols
src/transformation/voxelization/voxel_set.rs29 symbols

For agents

$ claude mcp add parry \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact