Struct ami::Plane[][src]

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

Single-precision 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]

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

Returns true if distance from Plane to point is positive.

Returns true if distance from Plane to BCube is positive

Trait Implementations

impl Clone for Plane
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Plane
[src]

impl PartialEq for Plane
[src]

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

This method tests for !=.

impl Debug for Plane
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Plane

impl Sync for Plane