| Crates.io | mole |
| lib.rs | mole |
| version | 0.1.1 |
| created_at | 2022-12-30 19:02:07.303448+00 |
| updated_at | 2022-12-30 19:13:15.772876+00 |
| description | A custom 3D model format for games. |
| homepage | |
| repository | https://github.com/elimerl/mole |
| max_upload_size | |
| id | 748008 |
| size | 5,551 |
A stupid 3D model format that is literally a zstandard messagepack struct. Useful for ingest directly from a game or engine without 5000 dependencies and a 6 hour build. GLTF is too hard :(
use mole::from_bytes;
let file = std::fs::read("hello.mol").unwrap();
let hill = mole::from_bytes(file);
println!("{:?}", hill);
std::fs::write("hello.mol", mole::to_bytes(&hill));