Struct cgmath_culling::FrustumCuller [] [src]

pub struct FrustumCuller<S> { /* fields omitted */ }

Methods

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

[src]

Creates an identity frustum culler. This is equivalent to calling the from_matrix method passing an identity matrix.

[src]

Creates a frustum culler from a given perspective frustum configuration.

[src]

Creates a frustum culler from a given PerspectiveFov configuration.

[src]

[src]

Creates a FrustumCuller from an arbitrary matrix, from which the frustum planes are computed.

[src]

Test wether a 3D point lies inside of the frustum

[src]

Returns the result of testing the intersection of the frustum with a sphere, defined by a center point (center) and a radius (radius).

This method will distinguish between a partial intersection and a total intersection.

[src]

Tests wether a given axis aligned bounding box intersects with the Frustum. There is a distinction between partial intersection and full intersection, which is given by the values of the Intersection enum.

Trait Implementations

impl<S: Debug> Debug for FrustumCuller<S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<S: Copy> Copy for FrustumCuller<S>
[src]

impl<S: Clone> Clone for FrustumCuller<S>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<S: PartialEq> PartialEq for FrustumCuller<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 FrustumCuller<S> where
    S: Send

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