diff --git a/src/model_physics.rs b/src/model_physics.rs index b275a2b..19731fc 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -246,7 +246,7 @@ impl MeshQuery for TransformedMesh<'_>{ } fn face_nd(&self,face_id:FaceId)->(Planar64Vec3,Planar64){ let (n,d)=self.mesh.face_nd(face_id); - (self.normal_transform*n,self.normal_determinant*d) + (*self.normal_transform*n,self.normal_determinant*d) } fn vert(&self,vert_id:VertId)->Planar64Vec3{ self.transform.transform_point3(self.mesh.vert(vert_id))