Function rin::graphics::rectangle_texcoords[][src]

pub fn rectangle_texcoords(
    pos: &Point<f32, U2>,
    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