Release v0.24.0 (#820)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rapier3d-meshloader"
|
||||
version = "0.4.0"
|
||||
version = "0.5.0"
|
||||
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
|
||||
description = "STL file loader for the 3D rapier physics engine."
|
||||
documentation = "https://docs.rs/rapier3d-meshloader"
|
||||
@@ -29,4 +29,4 @@ thiserror = "2"
|
||||
profiling = "1.0"
|
||||
mesh-loader = "0.1.12"
|
||||
|
||||
rapier3d = { version = "0.23", path = "../rapier3d" }
|
||||
rapier3d = { version = "0.24", path = "../rapier3d" }
|
||||
|
||||
@@ -33,11 +33,11 @@ pub enum MeshLoaderError {
|
||||
/// # Parameters
|
||||
/// - `path`: the file’s path.
|
||||
/// - `converter`: controls how the shapes are computed from the content. In particular, it lets
|
||||
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
|
||||
/// bounding box, etc.
|
||||
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
|
||||
/// bounding box, etc.
|
||||
/// - `scale`: the scaling factor applied to the geometry input to the `converter`. This scale will
|
||||
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
|
||||
/// in [`LoadedShape::raw_mesh`] remains unscaled.
|
||||
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
|
||||
/// in [`LoadedShape::raw_mesh`] remains unscaled.
|
||||
pub fn load_from_path(
|
||||
path: impl AsRef<Path>,
|
||||
converter: &MeshConverter,
|
||||
@@ -63,11 +63,11 @@ pub fn load_from_path(
|
||||
/// # Parameters
|
||||
/// - `raw_mesh`: the raw mesh.
|
||||
/// - `converter`: controls how the shape is computed from the STL content. In particular, it lets
|
||||
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
|
||||
/// bounding box, etc.
|
||||
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
|
||||
/// bounding box, etc.
|
||||
/// - `scale`: the scaling factor applied to the geometry input to the `converter`. This scale will
|
||||
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
|
||||
/// in [`LoadedShape::raw_mesh`] remains unscaled.
|
||||
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
|
||||
/// in [`LoadedShape::raw_mesh`] remains unscaled.
|
||||
pub fn load_from_raw_mesh(
|
||||
raw_mesh: &Mesh,
|
||||
converter: &MeshConverter,
|
||||
|
||||
Reference in New Issue
Block a user