Advertisement
Guest User

Untitled

a guest
Aug 21st, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. int yPos = landHeight - craterDepth;
  2.  
  3. for (int xPos = x; ; ++xPos)
  4. {
  5. curveExcess += craterCurve;
  6.  
  7. while (curveExcess > 1)
  8. {//ypos is 1
  9. ++yPos;
  10. //ypos is 1
  11. --curveExcess;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement