aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/draw_passes/level.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-render/src/draw/draw_passes/level.rs')
-rw-r--r--stockton-render/src/draw/draw_passes/level.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/draw/draw_passes/level.rs b/stockton-render/src/draw/draw_passes/level.rs
index d23990d..9872b8c 100644
--- a/stockton-render/src/draw/draw_passes/level.rs
+++ b/stockton-render/src/draw/draw_passes/level.rs
@@ -199,7 +199,7 @@ where
match face.geometry(&map) {
Geometry::Vertices(v1, v2, v3) => {
- for v in [v1, v2, v3] {
+ for v in &[v1, v2, v3] {
let uvp =
UvPoint(v.position, face.texture_idx(&map).try_into()?, v.tex);