mole

Crates.iomole
lib.rsmole
version0.1.1
sourcesrc
created_at2022-12-30 19:02:07.303448
updated_at2022-12-30 19:13:15.772876
descriptionA custom 3D model format for games.
homepage
repositoryhttps://github.com/elimerl/mole
max_upload_size
id748008
size5,551
Eli (elimerl)

documentation

README

Mole

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 :(

Usage

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));
Commit count: 4

cargo fmt