diff --git a/crates/parry2d/examples/aabb2d.rs b/crates/parry2d/examples/aabb2d.rs index 9223f6e5..a105f72b 100644 --- a/crates/parry2d/examples/aabb2d.rs +++ b/crates/parry2d/examples/aabb2d.rs @@ -10,7 +10,7 @@ use parry2d::shape::Ball; const RENDER_SCALE: f32 = 30.0; -#[macroquad::main("parry2d::utils::point_in_poly2d")] +#[macroquad::main("aabb2d")] async fn main() { let render_pos = Vec2::new(300.0, 300.0); diff --git a/crates/parry2d/examples/bounding_sphere2d.rs b/crates/parry2d/examples/bounding_sphere2d.rs index b5a495f1..1785496c 100644 --- a/crates/parry2d/examples/bounding_sphere2d.rs +++ b/crates/parry2d/examples/bounding_sphere2d.rs @@ -10,7 +10,7 @@ use parry2d::shape::Cuboid; const RENDER_SCALE: f32 = 30.0; -#[macroquad::main("parry2d::utils::point_in_poly2d")] +#[macroquad::main("bounding_sphere2d")] async fn main() { let render_pos = Vec2::new(300.0, 300.0); diff --git a/crates/parry2d/examples/convex_hull2d.rs b/crates/parry2d/examples/convex_hull2d.rs index 33b3c3ff..85e8fdc9 100644 --- a/crates/parry2d/examples/convex_hull2d.rs +++ b/crates/parry2d/examples/convex_hull2d.rs @@ -9,7 +9,7 @@ use parry2d::transformation; const RENDER_SCALE: f32 = 30.0; -#[macroquad::main("parry2d::utils::point_in_poly2d")] +#[macroquad::main("convex_hull2d")] async fn main() { let count = 9; let mut pts = vec![Point2::default(); count]; diff --git a/crates/parry2d/examples/point_in_poly2d.rs b/crates/parry2d/examples/point_in_poly2d.rs index 99f28770..1a463c92 100644 --- a/crates/parry2d/examples/point_in_poly2d.rs +++ b/crates/parry2d/examples/point_in_poly2d.rs @@ -7,7 +7,7 @@ use parry2d::utils::point_in_poly2d; const RENDER_SCALE: f32 = 30.0; -#[macroquad::main("parry2d::utils::point_in_poly2d")] +#[macroquad::main("points_in_poly2d")] async fn main() { let mut spikes = spikes_polygon(); let test_points = grid_points(); diff --git a/crates/parry2d/examples/polygons_intersection2d.rs b/crates/parry2d/examples/polygons_intersection2d.rs index 604f86c5..4cbeb137 100644 --- a/crates/parry2d/examples/polygons_intersection2d.rs +++ b/crates/parry2d/examples/polygons_intersection2d.rs @@ -8,7 +8,7 @@ use parry2d::transformation::polygons_intersection_points; const RENDER_SCALE: f32 = 30.0; -#[macroquad::main("parry2d::utils::polygons_intersection_points")] +#[macroquad::main("polygons_intersection2d")] async fn main() { let spikes = spikes_polygon(); let mut animated_spikes = spikes.clone(); diff --git a/crates/parry2d/examples/project_point2d.rs b/crates/parry2d/examples/project_point2d.rs index f65a9518..ba615a0f 100644 --- a/crates/parry2d/examples/project_point2d.rs +++ b/crates/parry2d/examples/project_point2d.rs @@ -7,7 +7,7 @@ use parry2d::math::{Isometry, Translation}; use parry2d::query::PointQuery; use parry2d::shape::{Cuboid, TriMesh, TriMeshFlags}; -#[macroquad::main("parry3d::query::PlaneIntersection")] +#[macroquad::main("project_point2d")] async fn main() { // // This is useful to test for https://github.com/dimforge/parry/pull/248 diff --git a/crates/parry2d/examples/raycasts_animated.rs b/crates/parry2d/examples/raycasts_animated.rs index ddd8fcb4..19999653 100644 --- a/crates/parry2d/examples/raycasts_animated.rs +++ b/crates/parry2d/examples/raycasts_animated.rs @@ -9,7 +9,7 @@ use parry2d::shape::Cuboid; const RENDER_SCALE: f32 = 30.0; -#[macroquad::main("parry2d::query::RayCast")] +#[macroquad::main("raycasts_animated")] async fn main() { let animation_scale = 1.4; let animation_rotation = 0.04; diff --git a/crates/parry3d/examples/aabb3d.rs b/crates/parry3d/examples/aabb3d.rs index 87101e6b..ef9c411c 100644 --- a/crates/parry3d/examples/aabb3d.rs +++ b/crates/parry3d/examples/aabb3d.rs @@ -8,7 +8,7 @@ use na::Isometry3; use parry3d::bounding_volume::{Aabb, BoundingVolume}; use parry3d::shape::Ball; -#[macroquad::main("parry2d::utils::point_in_poly2d")] +#[macroquad::main("aabb3d")] async fn main() { let camera_pos = Vec3::new(8f32, 8f32, 12f32); diff --git a/crates/parry3d/examples/bounding_sphere3d.rs b/crates/parry3d/examples/bounding_sphere3d.rs index 889085ea..0d3a4d82 100644 --- a/crates/parry3d/examples/bounding_sphere3d.rs +++ b/crates/parry3d/examples/bounding_sphere3d.rs @@ -10,7 +10,7 @@ use na::{Isometry3, Vector3}; use parry3d::bounding_volume::BoundingVolume; use parry3d::shape::Cuboid; -#[macroquad::main("parry2d::utils::point_in_poly2d")] +#[macroquad::main("bounding_sphere3d")] async fn main() { let camera_pos = Vec3::new(8f32, 8f32, 12f32); diff --git a/crates/parry3d/examples/convex_hull3d.rs b/crates/parry3d/examples/convex_hull3d.rs index 32d2fcc5..7b009605 100644 --- a/crates/parry3d/examples/convex_hull3d.rs +++ b/crates/parry3d/examples/convex_hull3d.rs @@ -9,7 +9,7 @@ use macroquad::prelude::*; use nalgebra::Point3; use parry3d::transformation; -#[macroquad::main("parry2d::utils::point_in_poly2d")] +#[macroquad::main("convex_hull3d")] async fn main() { let count = 9; let mut pts = vec![Point3::default(); count]; diff --git a/crates/parry3d/examples/plane_intersection.rs b/crates/parry3d/examples/plane_intersection.rs index 2d7f284f..c7420787 100644 --- a/crates/parry3d/examples/plane_intersection.rs +++ b/crates/parry3d/examples/plane_intersection.rs @@ -6,7 +6,7 @@ use parry3d::shape::{Cuboid, TriMesh}; mod common_macroquad3d; use common_macroquad3d::*; -#[macroquad::main("parry3d::query::PlaneIntersection")] +#[macroquad::main("plane_intersection")] async fn main() { let trimesh = Cuboid::new(Vector3::repeat(1.0)).to_trimesh(); diff --git a/crates/parry3d/examples/project_point3d.rs b/crates/parry3d/examples/project_point3d.rs index ac3025af..c629030b 100644 --- a/crates/parry3d/examples/project_point3d.rs +++ b/crates/parry3d/examples/project_point3d.rs @@ -6,7 +6,7 @@ use parry3d::shape::{Cuboid, TriMesh, TriMeshFlags}; mod common_macroquad3d; use common_macroquad3d::*; -#[macroquad::main("parry3d::query::PlaneIntersection")] +#[macroquad::main("project_point3d")] async fn main() { let trimesh = Cuboid::new(Vector3::new(0.2, 0.5, 1.0)).to_trimesh();