det unused

This commit is contained in:
Quaternions 2024-09-17 15:06:12 -07:00
parent a5efbe6574
commit 6b897620e9

View File

@ -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,
} }
} }