mirror of
https://codeberg.org/icewind/vbspview.git
synced 2026-06-03 18:24:09 +02:00
cleanup
This commit is contained in:
parent
b56b44d255
commit
80b9a71308
3 changed files with 4 additions and 4608 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,3 +7,4 @@ flamegraph.svg
|
|||
.direnv
|
||||
result
|
||||
.direnv
|
||||
mats.txt
|
||||
|
|
@ -33,13 +33,13 @@ pub fn load_props<'a, I: Iterator<Item = Handle<'a, StaticPropLump>>>(
|
|||
.map(|(prop, model)| {
|
||||
let transform =
|
||||
Mat4::from_translation(map_coords(prop.origin)) * Mat4::from(prop.rotation());
|
||||
Ok::<_, Error>(PropData {
|
||||
PropData {
|
||||
model,
|
||||
transform,
|
||||
skin: prop.skin,
|
||||
})
|
||||
}
|
||||
})
|
||||
.collect::<Result<_, _>>()?;
|
||||
.collect();
|
||||
|
||||
let materials: HashMap<_, _> = props
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue