Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function void DrawCircle(vector2 position, int r) {
- for(int i = 0; 20; 1) {
- 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)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement