pub struct Plane {
    pub normal: Vector3,
    pub d: f32,
}
Expand description

An infinite plane

Fields

normal: Vector3

The normal that lies perpendicular to the plane

d: f32

The distance from the plane to the origin

Implementations

Construct a plane given the components of the plan equation

Constructs a plane from three points that lie on the plane

Constructs a plane from a point that lies on the plane, and the normal to the plane

Trait Implementations

The closest point to another object

The closest point to another object

Formats the value using the given formatter. Read more

The distance between two objects

Performs the conversion.

Whether this shape intersect with the other

Whether this shape intersect with the other

Whether this shape intersect with the other

Whether this shape intersect with the other

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.