Function piston_window::math::orient [−][src]
pub fn orient<T>(x: T, y: T) -> [[T; 3]; 2] where
T: Float,
Orients x axis to look at point.
Leaves x axis unchanged if the point to look at is the origin.
pub fn orient<T>(x: T, y: T) -> [[T; 3]; 2] where
T: Float,
Orients x axis to look at point.
Leaves x axis unchanged if the point to look at is the origin.