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:
parent
c459a8308b
commit
e132a34a00
6 changed files with 69 additions and 7 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue