Enum bismuth::cube::Orientation
[−]
[src]
pub enum Orientation { Left, Right, Top, Bottom, Front, Back, }
An orientation in the tree space.
This is akin to choosing a face of a cube in a tree and orienting that face
based on the axis and direction in which it deforms. For example, Left
is
a face along the X
axis that deforms in the Positive
direction.
Variants
Left
Right
Top
Bottom
Front
Back
Methods
impl Orientation
[src]
pub fn axis(&self) -> Axis
[src]
Gets the Axis
associated with the Orientation
.
pub fn direction(&self) -> Direction
[src]
Gets the Direction
associated with the Orientation
.