Add /center commmand

This commit is contained in:
aumgn
2012-08-29 10:00:26 +02:00
parent c759b9062c
commit 7fd5d1b61c
6 changed files with 53 additions and 0 deletions

View File

@ -87,6 +87,7 @@ public class CylinderRegion extends AbstractRegion implements FlatRegion {
*
* @return
*/
@Override
public Vector getCenter() {
return center.toVector((maxY + minY) / 2);
}