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