Skip to main content

Module camera

Module camera 

Source
Expand description

World-space camera state passed to crate::GpuRenderer::render_chunk.

Mirrors roxlap-core::Camera’s shape (position + orthonormal right / down / forward basis) but in f32 since the GPU does its ray math at single precision. Host bridges by casting f64 → f32 after computing chunk-local coordinates.

Structs§

Camera
World-space camera state in the voxlap convention (Z = down).