1 unstable release
0.1.0 | Aug 18, 2024 |
---|
#348 in Graphics APIs
Used in 2 crates
7KB
101 lines
DirectX Mesh
Rust parser for Legacy Microsoft DirectX Mesh file extension.
Usage
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);
Examples
Task list
- Write documentation
- Create a writer
- Read materials
- Read animations, bones, etc
Dependencies
~230–680KB
~16K SLoC