(x1: f64, y1: f64, x2: f64, y2: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64)
| 388 | |
| 389 | #[no_mangle] |
| 390 | pub extern "C" fn bloom_draw_line(x1: f64, y1: f64, x2: f64, y2: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64) { |
| 391 | engine().renderer.draw_line(x1, y1, x2, y2, thickness, r, g, b, a); |
| 392 | } |
| 393 | |
| 394 | #[no_mangle] |
| 395 | pub extern "C" fn bloom_draw_rect(x: f64, y: f64, w: f64, h: f64, r: f64, g: f64, b: f64, a: f64) { |