Type Alias style::values::computed::transform::DirectionVector

source ·
pub type DirectionVector = Vector3D<CSSFloat>;
Expand description

A vector to represent the direction vector (rotate axis) for Rotate3D.

Aliased Type§

struct DirectionVector {
    pub x: f32,
    pub y: f32,
    pub z: f32,
}

Fields§

§x: f32

The x (traditionally, horizontal) coordinate.

§y: f32

The y (traditionally, vertical) coordinate.

§z: f32

The z (traditionally, depth) coordinate.