| Crates.io | directx_mesh |
| lib.rs | directx_mesh |
| version | 0.1.0 |
| created_at | 2024-08-18 19:38:46.649328+00 |
| updated_at | 2024-08-18 19:38:46.649328+00 |
| description | A parser for the legacy microsoft direct x mesh extension |
| homepage | https://github.com/scpcbredux/directx_mesh/ |
| repository | https://github.com/scpcbredux/directx_mesh/ |
| max_upload_size | |
| id | 1342917 |
| size | 7,956 |
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);