MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_load_model

Function bloom_load_model

native/watchos/src/lib.rs:859–864  ·  view source on GitHub ↗
(path: i64)

Source from the content-addressed store, hash-verified

857
858#[no_mangle]
859pub extern "C" fn bloom_load_model(path: i64) -> f64 {
860 let p = perry_str(path);
861 if p.is_empty() { return 0.0; }
862 let full = if p.starts_with('/') { p.to_string() } else { textures::resolve_bundle_path(p) };
863 models::load(&full) as f64
864}
865
866#[no_mangle]
867pub extern "C" fn bloom_gen_mesh_cube(w: f64, h: f64, d: f64) -> f64 {

Callers

nothing calls this directly

Calls 3

perry_strFunction · 0.85
resolve_bundle_pathFunction · 0.85
loadFunction · 0.70

Tested by

no test coverage detected