Struct collision::Frustum [] [src]

pub struct Frustum<S: BaseFloat> {
    pub left: Plane<S>,
    pub right: Plane<S>,
    pub bottom: Plane<S>,
    pub top: Plane<S>,
    pub near: Plane<S>,
    pub far: Plane<S>,
}

View frustum, used for frustum culling

Fields

Left plane

Right plane

Bottom plane

Top plane

Near plane

Far plane

Methods

impl<S: BaseFloat> Frustum<S>
[src]

[src]

Construct a frustum.

[src]

Extract frustum planes from a projection matrix.

[src]

Find the spatial relation of a bound inside this frustum.

Trait Implementations

impl<S: Copy + BaseFloat> Copy for Frustum<S>
[src]

impl<S: Clone + BaseFloat> Clone for Frustum<S>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<S: Debug + BaseFloat> Debug for Frustum<S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<S: PartialEq + BaseFloat> PartialEq for Frustum<S>
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl<S> Send for Frustum<S> where
    S: Send

impl<S> Sync for Frustum<S> where
    S: Sync