Examples of VoxelBlockPosition


Examples of net.anzix.fsz.voxelworld.VoxelBlockPosition

    }
   
    @Override
    public int distance(AbstractBlockPosition other) {
        if (other instanceof VoxelBlockPosition) {
            final VoxelBlockPosition o = (VoxelBlockPosition) other;
            return Math.max(Math.abs(x-o.x), Math.abs(z-o.z));
        }
        if (other instanceof LayerBlockPosition) {
            final LayerBlockPosition o = (LayerBlockPosition) other;
            return Math.max(Math.abs(x-o.x), Math.abs(z-o.z));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.