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

Function bloom_draw_triangle

native/windows/src/lib.rs:557–559  ·  view source on GitHub ↗
(x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64, r: f64, g: f64, b: f64, a: f64)

Source from the content-addressed store, hash-verified

555
556#[no_mangle]
557pub extern "C" fn bloom_draw_triangle(x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64, r: f64, g: f64, b: f64, a: f64) {
558 engine().renderer.draw_triangle(x1, y1, x2, y2, x3, y3, r, g, b, a);
559}
560
561#[no_mangle]
562pub extern "C" fn bloom_draw_poly(cx: f64, cy: f64, sides: f64, radius: f64, rotation: f64, r: f64, g: f64, b: f64, a: f64) {

Callers

nothing calls this directly

Calls 2

draw_triangleMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected