1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +02:00

texture info handling

This commit is contained in:
Robin Appelman 2022-12-07 22:03:32 +01:00
commit e132a34a00
6 changed files with 69 additions and 7 deletions

View file

@ -1,3 +1,4 @@
#[allow(unused_imports)]
use std::ops::Deref;
fn main() -> Result<(), vbsp::BspError> {
@ -12,9 +13,13 @@ fn main() -> Result<(), vbsp::BspError> {
// }
// }
for prop in bsp.static_props() {
dbg!(prop.deref());
dbg!(prop.model());
// for prop in bsp.static_props() {
// dbg!(prop.deref());
// dbg!(prop.model());
// }
for tex in bsp.textures() {
println!("{}", tex.name());
}
Ok(())