(x: f64, y: f64, w: f64, h: f64, r: f64, g: f64, b: f64, a: f64)
| 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) { |
| 436 | engine().renderer.draw_rect(x, y, w, h, r, g, b, a); |
| 437 | } |
| 438 | |
| 439 | #[wasm_bindgen] |
| 440 | pub fn bloom_draw_rect_lines(x: f64, y: f64, w: f64, h: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64) { |