mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 12:06:41 +00:00
This commit is contained in:
@ -392,6 +392,7 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
||||
return chunks;
|
||||
}
|
||||
|
||||
/* Slow and unnecessary
|
||||
@Override
|
||||
public boolean contains(BlockVector3 position) {
|
||||
BlockVector3 min = getMinimumPoint();
|
||||
@ -399,6 +400,7 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
||||
|
||||
return position.containedWithin(min, max);
|
||||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public boolean contains(int x, int y, int z) {
|
||||
|
@ -296,6 +296,7 @@ public class CylinderRegion extends AbstractRegion implements FlatRegion {
|
||||
/**
|
||||
* Checks to see if a point is inside this region.
|
||||
*/
|
||||
/* Slow and unnecessary
|
||||
@Override
|
||||
public boolean contains(BlockVector3 position) {
|
||||
final int blockY = position.getBlockY();
|
||||
@ -305,6 +306,7 @@ public class CylinderRegion extends AbstractRegion implements FlatRegion {
|
||||
|
||||
return position.toBlockVector2().subtract(center).toVector2().divide(radius).lengthSq() <= 1;
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Checks to see if a point is inside this region.
|
||||
|
Reference in New Issue
Block a user