mirror of
https://github.com/Mercantec-GHC/h5-projekt-mst.git
synced 2026-08-26 21:27:38 +02:00
fixy fixy
This commit is contained in:
parent
44483daa72
commit
1647bea339
@ -24,14 +24,14 @@ impl Scene {
|
||||
.points()
|
||||
.map(|p| p.distance(camera))
|
||||
.into_iter()
|
||||
.min_by(|a, b| a.total_cmp(b))
|
||||
.max_by(|a, b| a.total_cmp(b))
|
||||
.unwrap();
|
||||
let b = b
|
||||
.triangle
|
||||
.points()
|
||||
.map(|p| p.distance(camera))
|
||||
.into_iter()
|
||||
.min_by(|a, b| a.total_cmp(b))
|
||||
.max_by(|a, b| a.total_cmp(b))
|
||||
.unwrap();
|
||||
b.total_cmp(&a)
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user