Advertisement
Guest User

yeti

a guest
Nov 27th, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. IsoSphere iso = new IsoSphere(30, 30, 30, 30, 30);
  2.  
  3. GL.Translate(50, 50, -5);
  4.  
  5. GL.Color3(Color.Red);
  6. GL.PolygonMode(MaterialFace.Front, PolygonMode.Fill);
  7.  
  8. GL.Begin(BeginMode.TriangleFan);
  9.  
  10. for (int i = 0; i < iso.Vertices.Length; i++) {
  11.  
  12. GL.Vertex3(iso.Vertices[i]);
  13. }
  14. GL.End();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement