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

Update readme.md

Update readme for 0.2.0
This commit is contained in:
Neil Danson 2017-10-03 10:51:20 +01:00 committed by GitHub
commit 2af26e5245

View file

@ -1,4 +1,4 @@
#Example usage # Example usage
(Assuming that the pk3 file is unzipped locally) (Assuming that the pk3 file is unzipped locally)
@ -11,7 +11,7 @@
let mut file = File::open(path).unwrap(); let mut file = File::open(path).unwrap();
let mut bytes = Vec::new(); let mut bytes = Vec::new();
file.read_to_end(&mut bytes).unwrap(); file.read_to_end(&mut bytes).unwrap();
let bsp = quake3_loader::read_bsp(bytes); let bsp = quake3_loader::read_bsp(&bytes);
println!("{:?}", bsp); println!("{:?}", bsp);
} }