Function rin_graphics::rectangle_texcoords[][src]

pub fn rectangle_texcoords(
    pos: &Pnt2,
    w: f32,
    h: f32,
    s0: f32,
    t0: f32,
    s1: f32,
    t1: f32
) -> Mesh<Vertex2DTex>

Returns a rectangle as a filled mesh with position and texture coordinates