Function piston_window::triangulation::rect_tri_list_uv[][src]

pub fn rect_tri_list_uv<I>(image: &I, source_rect: [f64; 4]) -> [[f32; 2]; 6] where
    I: ImageSize

Creates triangle list texture coords from image.