(x1: f64, y1: f64, x2: f64, y2: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64)
| 428 | |
| 429 | #[wasm_bindgen] |
| 430 | pub fn bloom_draw_line(x1: f64, y1: f64, x2: f64, y2: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64) { |
| 431 | engine().renderer.draw_line(x1, y1, x2, y2, thickness, r, g, b, a); |
| 432 | } |
| 433 | |
| 434 | #[wasm_bindgen] |
| 435 | pub fn bloom_draw_rect(x: f64, y: f64, w: f64, h: f64, r: f64, g: f64, b: f64, a: f64) { |