unlit3d_asset_bytes/lib.rs
1#![doc = include_str!("../README.md")]
2
3/// The skinned fox the `gltf` scene draws, carried in the binary so the scene
4/// needs no file at run time.
5///
6/// `#[inline(never)]` keeps the bytes out of this crate's metadata: an
7/// inlinable body carries what it embeds along with it.
8#[inline(never)]
9pub fn fox() -> &'static [u8] {
10 include_bytes!("../../../unlit3d_asset_files/assets/Fox.glb")
11}
12
13/// The morph stress test the `gltf` scene draws, carried the same way.
14#[inline(never)]
15pub fn morph_stress_test() -> &'static [u8] {
16 include_bytes!("../../../unlit3d_asset_files/assets/MorphStressTest.glb")
17}