Advertisement
Guest User

Untitled

a guest
Dec 28th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.26 KB | None | 0 0
  1.     int angle= Math.round((float)Math.toRadians(180));
  2.         double SUBDIVISIONS=2000;
  3.         for(double theta = 0; theta < angle; theta += SUBDIVISIONS){
  4.  
  5.             GL11.glVertex2f((float)Math.cos(theta), (float)Math.sin(theta));
  6.         }
  7.         GL11.glEnd();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement