Skip to content

Commit

Permalink
revert a few unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Sep 20, 2024
1 parent 4c8e1ae commit b68ed9d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion crates/parry2d/examples/convex_hull2d.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
mod common_macroquad2d;

use std::f32::consts::{FRAC_PI_2, FRAC_PI_4};

use common_macroquad2d::{draw_point, draw_polygon, lissajous_2d_with_params, na_from_mquad};
use macroquad::prelude::*;
use nalgebra::Point2;
use parry2d::transformation;
use std::f32::consts::{FRAC_PI_2, FRAC_PI_4};

const RENDER_SCALE: f32 = 30.0;

Expand Down
3 changes: 2 additions & 1 deletion crates/parry3d/examples/convex_hull3d.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
mod common_macroquad3d;

use std::f32::consts::{FRAC_PI_2, FRAC_PI_4, FRAC_PI_6};

use common_macroquad3d::{
lissajous_3d_with_params, mquad_from_na, mquad_mesh_from_points, na_from_mquad,
};
use macroquad::prelude::*;
use nalgebra::Point3;
use parry3d::transformation;
use std::f32::consts::{FRAC_PI_2, FRAC_PI_4, FRAC_PI_6};

#[macroquad::main("parry2d::utils::point_in_poly2d")]
async fn main() {
Expand Down
1 change: 1 addition & 0 deletions crates/parry3d/examples/plane_intersection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use macroquad::prelude::*;
use nalgebra::{UnitVector3, Vector3};
use parry3d::query::IntersectResult;
use parry3d::shape::{Cuboid, TriMesh};

mod common_macroquad3d;
use common_macroquad3d::*;

Expand Down
2 changes: 1 addition & 1 deletion crates/parry3d/examples/project_point3d.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use macroquad::prelude::*;
use nalgebra::Vector3;

use parry3d::query::PointQuery;
use parry3d::shape::{Cuboid, TriMesh, TriMeshFlags};

mod common_macroquad3d;
use common_macroquad3d::*;

Expand Down

0 comments on commit b68ed9d

Please sign in to comment.