pub struct PlanarMatrices {
pub view: Mat4,
pub view_proj: Mat4,
pub eye: [f32; 3],
}Expand description
The matrices a planar reflection pass needs for one mirror plane.
Fields§
§view: Mat4Reflected view matrix (world -> mirrored view).
view_proj: Mat4Reflected view-projection with oblique near-plane clipping applied.
eye: [f32; 3]The camera eye reflected across the plane (LOD / view-direction anchor).
Auto Trait Implementations§
impl Freeze for PlanarMatrices
impl RefUnwindSafe for PlanarMatrices
impl Send for PlanarMatrices
impl Sync for PlanarMatrices
impl Unpin for PlanarMatrices
impl UnsafeUnpin for PlanarMatrices
impl UnwindSafe for PlanarMatrices
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