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

Method camera_pos

native/shared/src/renderer/mod.rs:8709–8711  ·  view source on GitHub ↗

Get the current camera position (set by begin_mode_3d).

(&self)

Source from the content-addressed store, hash-verified

8707
8708 /// Get the current camera position (set by begin_mode_3d).
8709 pub fn camera_pos(&self) -> [f32; 3] {
8710 self.current_camera_pos
8711 }
8712
8713 /// Get the inverse VP matrix for unprojecting screen coords to world rays.
8714 pub fn inverse_vp_matrix(&self) -> [[f32; 4]; 4] {

Callers 11

bloom_scene_pick_allFunction · 0.80
bloom_scene_pick_allFunction · 0.80
bloom_scene_pickFunction · 0.80
bloom_scene_pick_allFunction · 0.80
bloom_scene_pickFunction · 0.80
bloom_scene_pick_allFunction · 0.80
bloom_scene_pickFunction · 0.80
bloom_scene_pick_allFunction · 0.80
bloom_scene_pickFunction · 0.80
bloom_scene_pick_allFunction · 0.80
bloom_scene_pick_allFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected