3 releases
0.1.2 | Apr 10, 2019 |
---|---|
0.1.1 | Apr 9, 2019 |
0.1.0 | Apr 9, 2019 |
#1452 in Game dev
455KB
951 lines
Example usage
(Assuming that the pk3 file is unzipped locally)
extern crate bsp;
use std::fs::File;
fn main() -> std::io::Result<()> {
let bsp = bsp::read_bsp(&File::open("pak0/maps/q3dm1.bsp")?)?;
println!("{:?}", bsp);
Ok(())
}