Added support for stretched cylinders and brought their profile in line with that of the central layer of a sphere of the same x/z radius.

This commit is contained in:
TomyLobo
2011-10-28 20:16:19 +02:00
parent 318e81886c
commit 58be9d9be4
4 changed files with 96 additions and 163 deletions

View File

@ -33,6 +33,6 @@ public class CylinderBrush implements Brush {
public void build(EditSession editSession, Vector pos, Pattern mat, double size)
throws MaxChangedBlocksException {
editSession.makeCylinder(pos, mat, size, height);
editSession.makeCylinder(pos, mat, size, size, height, true);
}
}

View File

@ -33,6 +33,6 @@ public class HollowCylinderBrush implements Brush {
public void build(EditSession editSession, Vector pos, Pattern mat, double size)
throws MaxChangedBlocksException {
editSession.makeHollowCylinder(pos, mat, size, height);
editSession.makeCylinder(pos, mat, size, size, height, false);
}
}