forked from StrafesNET/strafe-client
damned deref
This commit is contained in:
parent
d3531a9aca
commit
eee3272293
@ -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<'_>{
|
||||
|
Loading…
Reference in New Issue
Block a user