Function piston_window::triangulation::rect_tri_list_uv
source · pub fn rect_tri_list_uv<I>(image: &I, source_rect: [f64; 4]) -> [[f32; 2]; 6]where
I: ImageSize,
Expand description
Creates triangle list texture coords from image.