(x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64, r: f64, g: f64, b: f64, a: f64)
| 453 | |
| 454 | #[wasm_bindgen] |
| 455 | pub fn bloom_draw_triangle(x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64, r: f64, g: f64, b: f64, a: f64) { |
| 456 | engine().renderer.draw_triangle(x1, y1, x2, y2, x3, y3, r, g, b, a); |
| 457 | } |
| 458 | |
| 459 | #[wasm_bindgen] |
| 460 | pub fn bloom_draw_poly(cx: f64, cy: f64, sides: f64, radius: f64, rotation: f64, r: f64, g: f64, b: f64, a: f64) { |
nothing calls this directly
no test coverage detected