Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int yPos = landHeight - craterDepth;
- for (int xPos = x; ; ++xPos)
- {
- curveExcess += craterCurve;
- while (curveExcess > 1)
- {//ypos is 1
- ++yPos;
- //ypos is 1
- --curveExcess;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement