(path_ptr: *const u8)
| 1961 | |
| 1962 | #[no_mangle] |
| 1963 | pub extern "C" fn bloom_load_model_animation(path_ptr: *const u8) -> f64 { |
| 1964 | let path = str_from_header(path_ptr); |
| 1965 | match std::fs::read(path) { |
| 1966 | Ok(data) => engine().models.load_model_animation(&data), |
| 1967 | Err(_) => 0.0, |
| 1968 | } |
| 1969 | } |
| 1970 | |
| 1971 | #[no_mangle] |
| 1972 | 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