mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
commanding-pipeline diff
This commit is contained in:
@ -246,10 +246,18 @@ public class EllipsoidRegion extends AbstractRegion {
|
||||
return cxd + cyd + czd <= 1;
|
||||
}
|
||||
|
||||
/*
|
||||
/* Slow and unnecessary
|
||||
@Override
|
||||
public boolean contains(BlockVector3 position) {
|
||||
return position.subtract(center).toVector3().divide(radius).lengthSq() <= 1;
|
||||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public boolean contains(BlockVector3 position) {
|
||||
return contains(position.getX(), position.getY(), position.getZ());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean contains(int x, int z) {
|
||||
|
Reference in New Issue
Block a user