Struct ami::Plane [] [src]

pub struct Plane {
    pub facing: Vec3,
    pub offset: f32,
}

A Plane

Fields

A normalized directional vector for the direction the plane faces.

The offset of the plane from the origin in the direction of facing

Methods

impl Plane
[src]

[src]

Create a new plane from directional vector, and offset from origin.

[src]

Returns true if distance from Plane to point is positive.

[src]

Returns true if distance from Plane to BCube is positive

Trait Implementations

impl Mul<Plane> for Mat4
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Clone for Plane
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Plane
[src]

impl PartialEq for Plane
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Plane
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Plane

impl Sync for Plane