pub struct ShadowView {
pub view_projection: [[f32; 4]; 4],
pub eye: [f32; 3],
}Expand description
The view a choice is made for, in world space: its view-projection (rows: clip = m * [p, 1], depth 0 to 1 in
either direction) and its eye.
Fields§
§view_projection: [[f32; 4]; 4]§eye: [f32; 3]Trait Implementations§
Source§impl Clone for ShadowView
impl Clone for ShadowView
impl Copy for ShadowView
Source§impl Debug for ShadowView
impl Debug for ShadowView
Source§impl PartialEq for ShadowView
impl PartialEq for ShadowView
impl StructuralPartialEq for ShadowView
Auto Trait Implementations§
impl Forget for ShadowView
impl Freeze for ShadowView
impl RefUnwindSafe for ShadowView
impl Send for ShadowView
impl Sync for ShadowView
impl Unpin for ShadowView
impl UnsafeUnpin for ShadowView
impl UnwindSafe for ShadowView
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