pub struct Plane {
pub normal: [f32; 3],
pub d: f32,
}Expand description
One frustum plane in clip space.
Fields§
§normal: [f32; 3]Plane equation in clip space: dot(normal, p) + d >= 0 == inside.
d: f32Plane constant: the signed distance from the origin along normal.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plane
impl RefUnwindSafe for Plane
impl Send for Plane
impl Sync for Plane
impl Unpin for Plane
impl UnsafeUnpin for Plane
impl UnwindSafe for Plane
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