Package codechicken.lib.vec

Examples of codechicken.lib.vec.Cuboid6


    public Cuboid6 getBounds(){
        if(boundingBoxes == null) {
            boundingBoxes = new Cuboid6[6];
            for(int i = 0; i < 6; i++) {
                AxisAlignedBB aabb = module.boundingBoxes[i];
                boundingBoxes[i] = new Cuboid6(aabb.minX, aabb.minY, aabb.minZ, aabb.maxX, aabb.maxY, aabb.maxZ);
            }
        }
        return boundingBoxes[module.getDirection().ordinal() % 6];
    }
View Full Code Here

TOP

Related Classes of codechicken.lib.vec.Cuboid6

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.