Function bottomless_pit::matrix_math::normalize_points
source · pub fn normalize_points<T: Div<Output = T>>(
point: Vec2<T>,
width: T,
height: T
) -> Vec2<T>Expand description
Helper function to normalize 2D points