pub struct GpuLineCamera {
pub pos: [f32; 3],
pub right: [f32; 3],
pub down: [f32; 3],
pub forward: [f32; 3],
}Expand description
World camera basis for projecting GpuLine endpoints — the same
pinhole the scene-DDA pass marches with (right/down/forward
orthonormal, pos in world voxel units).
Fields§
§pos: [f32; 3]§right: [f32; 3]§down: [f32; 3]§forward: [f32; 3]Trait Implementations§
Source§impl Clone for GpuLineCamera
impl Clone for GpuLineCamera
Source§fn clone(&self) -> GpuLineCamera
fn clone(&self) -> GpuLineCamera
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GpuLineCamera
Auto Trait Implementations§
impl Freeze for GpuLineCamera
impl RefUnwindSafe for GpuLineCamera
impl Send for GpuLineCamera
impl Sync for GpuLineCamera
impl Unpin for GpuLineCamera
impl UnsafeUnpin for GpuLineCamera
impl UnwindSafe for GpuLineCamera
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more