pub struct SeenDoor {
pub quad: Mat4,
pub away: f32,
pub clip: [f32; 4],
pub opening: Rect,
}Expand description
A doorway as the eye sees through it.
Fields§
§quad: Mat4Places the unit square on the doorway, in the eye’s space.
away: f32Which way along the quad’s z points away from the eye: 1 or -1.
clip: [f32; 4]The plane past which the space behind the doorway shows, in the eye’s
space: a point p shows where normal . p + offset >= 0.
opening: RectThe bounds of the doorway’s opening on screen, within those of the doorways it shows through, in the window scene node’s coordinates.
Trait Implementations§
impl Copy for SeenDoor
impl StructuralPartialEq for SeenDoor
Auto Trait Implementations§
impl Freeze for SeenDoor
impl RefUnwindSafe for SeenDoor
impl Send for SeenDoor
impl Sync for SeenDoor
impl Unpin for SeenDoor
impl UnsafeUnpin for SeenDoor
impl UnwindSafe for SeenDoor
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