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

Function bloom_draw_cube

native/web/src/lib.rs:507–509  ·  view source on GitHub ↗
(x: f64, y: f64, z: f64, w: f64, h: f64, d: f64, r: f64, g: f64, b: f64, a: f64)

Source from the content-addressed store, hash-verified

505
506#[wasm_bindgen]
507pub fn bloom_draw_cube(x: f64, y: f64, z: f64, w: f64, h: f64, d: f64, r: f64, g: f64, b: f64, a: f64) {
508 engine().renderer.draw_cube(x, y, z, w, h, d, r, g, b, a);
509}
510
511#[wasm_bindgen]
512pub fn bloom_draw_cube_wires(x: f64, y: f64, z: f64, w: f64, h: f64, d: f64, r: f64, g: f64, b: f64, a: f64) {

Callers

nothing calls this directly

Calls 2

draw_cubeMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected