Skip to content

Commit

Permalink
include readme to avoid doc duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Nov 4, 2024
1 parent 7617ab0 commit 1b7713f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
10 changes: 7 additions & 3 deletions crates/rapier3d-meshloader/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
## STL loader for the Rapier physics engine
## Mesh loader for the Rapier physics engine

Rapier is a set of 2D and 3D physics engines for games, animation, and robotics. The `rapier3d-stl`
Rapier is a set of 2D and 3D physics engines for games, animation, and robotics. The `rapier3d-meshloader`
crate lets you create a shape compatible with `rapier3d` and `parry3d` (the underlying collision-detection
library) from an STL file.
library) from different file formats, see the following features list:

- `stl`: support .stl files
- `collada`: support .dae files
- `wavefront`: support .obj files

## Resources and discussions

Expand Down
12 changes: 1 addition & 11 deletions crates/rapier3d-meshloader/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
//! ## Mesh loader for the Rapier physics engine
//!
//! Rapier is a set of 2D and 3D physics engines for games, animation, and robotics. The `rapier3d-meshloader`
//! crate lets you create a shape compatible with `rapier3d` and `parry3d` (the underlying collision-detection
//! library) from different file formats, see the following features list:
//! `stl`: support .stl files
//! `collada`: support .dae files
//! `wavefront`: support .obj files
//!
//! See documentation from [`mesh_loader`] for more details.
#![doc = include_str!("../README.md")]
#![deny(missing_docs)]

use mesh_loader::Mesh;
Expand Down

0 comments on commit 1b7713f

Please sign in to comment.