Somepotato

draw.DrawTexturedRect

Jan 10th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. function draw.DrawTexturedRect(mat,x,y,w,h)
  2.     render.SetMaterial(mat)
  3.     render.DrawQuad(Vector(x,y,0),Vector(x+w,y,0),Vector(x+w,y+h,0),Vector(x,y+h,0))
  4. end
Advertisement
Add Comment
Please, Sign In to add comment