Rename cdl to parry.

This commit is contained in:
Crozet Sébastien
2021-01-24 11:13:44 +01:00
parent 90db26eb50
commit 8f7220f03d
31 changed files with 98 additions and 114 deletions

View File

@@ -1,9 +1,5 @@
#[macro_use]
extern crate kiss3d;
#[cfg(feature = "dim2")]
extern crate cdl2d as cdl;
#[cfg(feature = "dim3")]
extern crate cdl3d as cdl;
extern crate nalgebra as na;
#[cfg(feature = "dim2")]
extern crate ncollide2d as ncollide;
@@ -14,6 +10,10 @@ extern crate nphysics2d as nphysics;
#[cfg(all(feature = "dim3", feature = "other-backends"))]
extern crate nphysics3d as nphysics;
#[cfg(feature = "dim2")]
extern crate parry2d as parry;
#[cfg(feature = "dim3")]
extern crate parry3d as parry;
#[cfg(feature = "dim2")]
extern crate rapier2d as rapier;
#[cfg(feature = "dim3")]
extern crate rapier3d as rapier;

View File

@@ -1,6 +1,6 @@
use cdl::shape;
use kiss3d::window::Window;
use na::{self, Point3};
use parry::shape;
use rapier::geometry::{ColliderHandle, ColliderSet};
#[cfg(feature = "dim2")]
use rapier::math::Point;

View File

@@ -1,7 +1,7 @@
use cdl2d::shape;
use kiss3d::window::Window;
use na::{Isometry2, Point2, Point3};
use nphysics2d::object::{ColliderAnchor, DefaultColliderHandle, DefaultColliderSet};
use parry2d::shape;
pub struct Polyline {
color: Point3<f32>,