Function piston_window::math::orient

source ·
pub fn orient<T>(x: T, y: T) -> [[T; 3]; 2]where
    T: Float,
Expand description

Orients x axis to look at point.

Leaves x axis unchanged if the point to look at is the origin.