[−]Function piston_window::math::relative_rectangle
pub fn relative_rectangle<T>(rect: [T; 4], v: [T; 2]) -> [T; 4] where
T: Float,
Computes a relative rectangle using the rectangle as a tile.
pub fn relative_rectangle<T>(rect: [T; 4], v: [T; 2]) -> [T; 4] where
T: Float,
Computes a relative rectangle using the rectangle as a tile.