Rust parser for rmesh file extension. The rmesh file extension is used in SCPCB
for room meshes.
let bytes = std::fs::read("GFX/map/lockroom_opt.rmesh").unwrap();
let rmesh = read_rmesh(&bytes).unwrap();
assert_eq!(rmesh.colliders.len(), 0);
assert_eq!(rmesh.entities.len(), 13);
- Write documentation
- Create a writer
- Add X file loader for bevy_rmesh