MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_draw_poly

Function bloom_draw_poly

native/web/src/lib.rs:460–462  ·  view source on GitHub ↗
(cx: f64, cy: f64, sides: f64, radius: f64, rotation: f64, r: f64, g: f64, b: f64, a: f64)

Source from the content-addressed store, hash-verified

458
459#[wasm_bindgen]
460pub fn bloom_draw_poly(cx: f64, cy: f64, sides: f64, radius: f64, rotation: f64, r: f64, g: f64, b: f64, a: f64) {
461 engine().renderer.draw_poly(cx, cy, sides, radius, rotation, r, g, b, a);
462}
463
464// ============================================================
465// Camera 2D

Callers

nothing calls this directly

Calls 2

draw_polyMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected