Struct acacia::partition::cubemap::Quad [] [src]

pub struct Quad {
    pub axis: Axis,
    pub direction: Direction,
    pub flat_quad: UnitQuad,
}

A quad-shaped partition of the side of a cubemap

Fields

Normal axis of the quad normal

Direction of the quad normal along the axis

Embedded flat unit quad

Methods

impl Quad
[src]

The center of this quad on the cube

The center of this quad on the unit sphere

Trait Implementations

impl Copy for Quad
[src]

impl Clone for Quad
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Quad
[src]

Formats the value using the given formatter.

impl PartialEq for Quad
[src]

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

This method tests for !=.

impl Hash for Quad
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for Quad
[src]

impl Subdivide for Quad
[src]

Subdivide into smaller partitions

impl<T: BaseFloat + PartialOrd + NumCast + Float> Partition<Vector3<T>> for Quad
[src]

Does the partition contain an element?

Dispatch an element to the correct subpartition Read more