Rust parser for Legacy Microsoft DirectX Mesh file extension.
let bytes = std::fs::read_to_string("GFX/map.x").unwrap();
let x_mesh = read_directx_mesh(&bytes).unwrap();
assert_eq!(x_mesh.vertices.len(), 301);
- Write documentation
- Create a writer
- Read materials
- Read animations, bones, etc