(path: i64)
| 857 | |
| 858 | #[no_mangle] |
| 859 | pub 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] |
| 867 | pub extern "C" fn bloom_gen_mesh_cube(w: f64, h: f64, d: f64) -> f64 { |
nothing calls this directly
no test coverage detected