Package net.anzix.fsz.voxelworld

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

Related Classes of net.anzix.fsz.voxelworld.VoxelBlockPosition

Copyright © 2018 www.massapicom. 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.