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

Function bloom_add_point_light

native/watchos/src/lib.rs:1035–1040  ·  view source on GitHub ↗
(
    x: f64, y: f64, z: f64, range: f64, r: f64, g: f64, b: f64, intensity: f64,
)

Source from the content-addressed store, hash-verified

1033}
1034
1035#[no_mangle] pub extern "C" fn bloom_add_point_light(
1036 x: f64, y: f64, z: f64, range: f64, r: f64, g: f64, b: f64, intensity: f64,
1037) {
1038 scene::add_point_light(x as f32, y as f32, z as f32, range as f32,
1039 r as f32, g as f32, b as f32, intensity as f32);
1040}
1041
1042// ============================================================
1043// Scene snapshot accessors for Swift

Callers

nothing calls this directly

Calls 1

add_point_lightFunction · 0.85

Tested by

no test coverage detected