Advertisement
szymski

Untitled

Oct 18th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. function void DrawCircle(vector2 position, int r) {
  2. for(int i = 0; 20; 1) {
  3. drawLine(position+vec2(sin((i/20)*360),cos((i/20)*360))*r,position+vec2(sin(((i-1)/20)*360),cos(((i-1)/20)*360))*r)
  4. }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement