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

Function bloom_begin_mode_2d

native/linux/src/lib.rs:1053–1055  ·  view source on GitHub ↗
(offset_x: f64, offset_y: f64, target_x: f64, target_y: f64, rotation: f64, zoom: f64)

Source from the content-addressed store, hash-verified

1051
1052#[no_mangle]
1053pub extern "C" fn bloom_begin_mode_2d(offset_x: f64, offset_y: f64, target_x: f64, target_y: f64, rotation: f64, zoom: f64) {
1054 engine().renderer.begin_mode_2d(offset_x as f32, offset_y as f32, target_x as f32, target_y as f32, rotation as f32, zoom as f32);
1055}
1056#[no_mangle]
1057pub extern "C" fn bloom_end_mode_2d() { engine().renderer.end_mode_2d(); }
1058

Callers

nothing calls this directly

Calls 2

begin_mode_2dMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected