9 unstable releases (3 breaking)
Uses old Rust 2015
0.10.1 | Mar 5, 2018 |
---|---|
0.10.0 | Mar 4, 2018 |
0.9.3 | Oct 28, 2017 |
0.9.2 | Sep 10, 2017 |
0.1.1 | Aug 9, 2017 |
#126 in Data formats
340KB
8K
SLoC
The reference loader implementation for the gltf
crate.
Examples
Importing some glTF
2.0
use gltf_importer::import;
let path = "path/to/asset.gltf";
match import(path) {
Ok((gltf, _)) => println!("{:#?}", gltf.as_json()),
Err(err) => println!("error: {:?}", err),
}
Dependencies
~2.1–3.5MB
~63K SLoC