Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int radius = getWidth()/2;
- int precis = 16;
- for(int dir=0;dir<360;dir+=360/precis) {
- int i=(int) Math.floor(x+Math.cos(Math.toRadians(dir))*radius);
- int j=(int) Math.floor(z+Math.sin(Math.toRadians(dir))*radius);
- buildWall(world, i, j, y, theme, random);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement