Type Alias DirectionVector

Source
pub type DirectionVector = Vector3D<CSSFloat>;
Expand description

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

Aliased Type§

#[repr(C)]
pub 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.