damned deref

This commit is contained in:
Quaternions 2024-02-08 16:43:30 -08:00
parent d3531a9aca
commit eee3272293

View File

@ -396,7 +396,7 @@ struct PhysicsMeshView<'a>{
}
impl PhysicsMeshView<'_>{
pub fn verts<'a>(&'a self)->impl Iterator<Item=Planar64Vec3>+'a{
self.data.verts.iter().map(|Vert(pos)|*pos)
self.data.verts.iter().map(|&Vert(pos)|pos)
}
}
impl MeshQuery<SubmeshFaceId,SubmeshDirectedEdgeId,SubmeshVertId> for PhysicsMeshView<'_>{