mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-24 00:10:45 +01:00
Use as_chunks in the change-mesh test (clippy)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b944a04cd2
commit
b52fca296d
1 file changed
+1
-1
@@ -639,7 +639,7 @@ fn changing_the_mesh_keeps_the_bake_setup_and_marks_the_project_changed() {
|
||||
for uv in &plane.uvs {
|
||||
low += &format!("vt {} {}\n", uv.x, 1.0 - uv.y);
|
||||
}
|
||||
for t in plane.indices.chunks_exact(3) {
|
||||
for t in plane.indices.as_chunks::<3>().0 {
|
||||
low += &format!("f {a}/{a} {b}/{b} {c}/{c}\n", a = t[0] + 1, b = t[1] + 1, c = t[2] + 1);
|
||||
}
|
||||
let low = temp_file("change_low.obj", &low);
|
||||
|
||||
Reference in new issue
Block a user