Struct makepad_widgets::Plane
pub struct Plane {
pub a: f32,
pub b: f32,
pub c: f32,
pub d: f32,
}
Fields§
§a: f32
§b: f32
§c: f32
§d: f32
Implementations§
§impl Plane
impl Plane
pub fn from_point_normal(p: Vec3, normal: Vec3) -> Plane
pub fn from_points(p1: Vec3, p2: Vec3, p3: Vec3) -> Plane
pub fn intersect_line(&self, v1: Vec3, v2: Vec3) -> Vec3
Trait Implementations§
impl Copy for Plane
impl StructuralPartialEq for Plane
Auto Trait Implementations§
impl RefUnwindSafe for Plane
impl Send for Plane
impl Sync for Plane
impl Unpin 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