det unused
This commit is contained in:
parent
a5efbe6574
commit
6b897620e9
@ -452,13 +452,11 @@ impl MeshQuery<SubmeshFaceId,SubmeshDirectedEdgeId,SubmeshVertId> for PhysicsMes
|
|||||||
pub struct PhysicsMeshTransform{
|
pub struct PhysicsMeshTransform{
|
||||||
pub vertex:integer::Planar64Affine3,
|
pub vertex:integer::Planar64Affine3,
|
||||||
pub normal:integer::mat3::Matrix3<Fixed<2,64>>,
|
pub normal:integer::mat3::Matrix3<Fixed<2,64>>,
|
||||||
pub det:Fixed<3,96>,
|
|
||||||
}
|
}
|
||||||
impl PhysicsMeshTransform{
|
impl PhysicsMeshTransform{
|
||||||
pub fn new(transform:integer::Planar64Affine3)->Self{
|
pub fn new(transform:integer::Planar64Affine3)->Self{
|
||||||
Self{
|
Self{
|
||||||
normal:transform.matrix3.adjugate().transpose(),
|
normal:transform.matrix3.adjugate().transpose(),
|
||||||
det:transform.matrix3.det(),
|
|
||||||
vertex:transform,
|
vertex:transform,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user