(path_ptr: *const u8)
| 1543 | |
| 1544 | #[no_mangle] |
| 1545 | pub extern "C" fn bloom_load_model_animation(path_ptr: *const u8) -> f64 { |
| 1546 | let path = str_from_header(path_ptr); |
| 1547 | match std::fs::read(path) { |
| 1548 | Ok(data) => engine().models.load_model_animation(&data), |
| 1549 | Err(_) => 0.0, |
| 1550 | } |
| 1551 | } |
| 1552 | |
| 1553 | #[no_mangle] |
| 1554 | pub extern "C" fn bloom_update_model_animation(handle: f64, anim_index: f64, time: f64, scale: f64, px: f64, py: f64, pz: f64, rot_y: f64) { |
nothing calls this directly
no test coverage detected