mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 18:54:05 +02:00
No description
- Rust 99.1%
- Nix 0.9%
| benches | ||
| src | ||
| .gitignore | ||
| base.bench | ||
| Cargo.toml | ||
| koth_bagel_rc2a.bsp | ||
| LICENSE | ||
| readme.md | ||
| test.bsp | ||
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(())
}