mirror of
https://codeberg.org/icewind/vbspview.git
synced 2026-06-03 18:24:09 +02:00
turn model
This commit is contained in:
parent
018866efe1
commit
0d5619a544
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ fn model_to_mesh(model: Handle<vbsp::data::Model>) -> CPUMesh {
|
|||
.filter(|face| face.is_visible())
|
||||
.flat_map(|face| face.triangulate())
|
||||
.flat_map(|triangle| triangle.into_iter())
|
||||
.flat_map(|vertex| vertex.iter())
|
||||
.flat_map(|vertex| [vertex.x, vertex.z, vertex.y])
|
||||
.map(|c| c / size)
|
||||
.collect();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue