mirror of
https://codeberg.org/icewind/vmdl.git
synced 2026-06-03 16:44:11 +02:00
bones
This commit is contained in:
parent
03470ab7f4
commit
f33101119c
10 changed files with 635 additions and 8 deletions
10
examples/parse.rs
Normal file
10
examples/parse.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fn main() -> Result<(), vmdl::MdlError> {
|
||||
let mut args = std::env::args();
|
||||
let _ = args.next();
|
||||
let data = std::fs::read(args.next().expect("No demo file provided"))?;
|
||||
let mdl = vmdl::Mdl::read(&data)?;
|
||||
|
||||
dbg!(mdl.bones);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue