Package net.anzix.fsz.voxelworld.layers

Examples of net.anzix.fsz.voxelworld.layers.LayerBlockPosition


        if (other instanceof VoxelBlockPosition) {
            final VoxelBlockPosition o = (VoxelBlockPosition) other;
            return Math.max(Math.abs(x-o.x), Math.max(Math.abs(y-o.y), 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));
        }
        return 0;
    }
View Full Code Here

TOP

Related Classes of net.anzix.fsz.voxelworld.layers.LayerBlockPosition

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.