fix fart
This commit is contained in:
parent
84b364313b
commit
682fa44741
@ -487,7 +487,7 @@ impl TransformedMesh<'_>{
|
||||
SubmeshVertId::new(
|
||||
self.view.topology.verts.iter()
|
||||
.enumerate()
|
||||
.min_by_key(|(_,vert_id)|
|
||||
.max_by_key(|(_,&vert_id)|
|
||||
dir.dot(self.transform.vertex.transform_point3(self.view.data.verts[vert_id.get() as usize].0))
|
||||
)
|
||||
//assume there is more than zero vertices.
|
||||
|
Loading…
Reference in New Issue
Block a user