(cx: f64, cy: f64, sides: f64, radius: f64, rotation: f64, r: f64, g: f64, b: f64, a: f64)
| 418 | |
| 419 | #[no_mangle] |
| 420 | pub extern "C" fn bloom_draw_poly(cx: f64, cy: f64, sides: f64, radius: f64, rotation: f64, r: f64, g: f64, b: f64, a: f64) { |
| 421 | engine().renderer.draw_poly(cx, cy, sides, radius, rotation, r, g, b, a); |
| 422 | } |
| 423 | |
| 424 | #[no_mangle] |
| 425 | pub extern "C" fn bloom_draw_text(text_ptr: *const u8, x: f64, y: f64, size: f64, r: f64, g: f64, b: f64, a: f64) { |