Fix 3D compilation.
This commit is contained in:
@@ -138,7 +138,7 @@ impl MaybeSerializableData for PfmPfmContactManifoldGeneratorWorkspace {
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn clone(&self) -> Box<MaybeSerializableData> {
|
fn clone_dyn(&self) -> Box<MaybeSerializableData> {
|
||||||
Box::new(self.clone())
|
Box::new(self.clone())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ use crate::utils::WBasis;
|
|||||||
use na::Point2;
|
use na::Point2;
|
||||||
use ncollide::shape::Segment;
|
use ncollide::shape::Segment;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct PolyhedronFace {
|
pub struct PolyhedronFace {
|
||||||
pub vertices: [Point<f32>; 4],
|
pub vertices: [Point<f32>; 4],
|
||||||
pub vids: [u8; 4], // Feature ID of the vertices.
|
pub vids: [u8; 4], // Feature ID of the vertices.
|
||||||
|
|||||||
Reference in New Issue
Block a user