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

Function bloom_load_model_animation

native/ios/src/lib.rs:1572–1578  ·  view source on GitHub ↗
(path_ptr: *const u8)

Source from the content-addressed store, hash-verified

1570
1571#[no_mangle]
1572pub extern "C" fn bloom_load_model_animation(path_ptr: *const u8) -> f64 {
1573 let path = str_from_header(path_ptr);
1574 match std::fs::read(resolve_path(path)) {
1575 Ok(data) => engine().models.load_model_animation(&data),
1576 Err(_) => 0.0,
1577 }
1578}
1579
1580#[no_mangle]
1581pub extern "C" fn bloom_update_model_animation(handle: f64, anim_index: f64, time: f64, scale: f64, px: f64, py: f64, pz: f64, rot_sin: f64, rot_cos: f64) {

Callers 1

loadModelAnimationFunction · 0.50

Calls 4

str_from_headerFunction · 0.85
load_model_animationMethod · 0.80
resolve_pathFunction · 0.70
engineFunction · 0.70

Tested by

no test coverage detected