directx_mesh

Crates.iodirectx_mesh
lib.rsdirectx_mesh
version0.1.0
sourcesrc
created_at2024-08-18 19:38:46.649328
updated_at2024-08-18 19:38:46.649328
descriptionA parser for the legacy microsoft direct x mesh extension
homepagehttps://github.com/scpcbredux/directx_mesh/
repositoryhttps://github.com/scpcbredux/directx_mesh/
max_upload_size
id1342917
size7,956
DotWith (DotWith)

documentation

https://docs.rs/directx_mesh

README

DirectX Mesh

crates.io docs.rs

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
Commit count: 0

cargo fmt