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

Method vp_matrix

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

Get the current view-projection matrix (set by begin_mode_3d).

(&self)

Source from the content-addressed store, hash-verified

8702
8703 /// Get the current view-projection matrix (set by begin_mode_3d).
8704 pub fn vp_matrix(&self) -> [[f32; 4]; 4] {
8705 self.current_vp_matrix
8706 }
8707
8708 /// Get the current camera position (set by begin_mode_3d).
8709 pub fn camera_pos(&self) -> [f32; 3] {

Callers 7

bloom_project_to_screenFunction · 0.80
bloom_project_to_screenFunction · 0.80
bloom_screenshot_captureFunction · 0.80
end_frameMethod · 0.80
bloom_project_to_screenFunction · 0.80
bloom_screenshot_captureFunction · 0.80
bloom_project_to_screenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected