Search in sources :

Example 1 with IndexedCuboid6

use of codechicken.lib.raytracer.IndexedCuboid6 in project PneumaticCraft by MineMaarten.

the class PartPressureTube method getSubParts.

@Override
public Iterable<IndexedCuboid6> getSubParts() {
    Iterable<Cuboid6> boxList = getCollisionBoxes();
    LinkedList<IndexedCuboid6> partList = new LinkedList<IndexedCuboid6>();
    for (Cuboid6 c : boxList) partList.add(new IndexedCuboid6(0, c));
    return partList;
}
Also used : IndexedCuboid6(codechicken.lib.raytracer.IndexedCuboid6) IndexedCuboid6(codechicken.lib.raytracer.IndexedCuboid6) Cuboid6(codechicken.lib.vec.Cuboid6) LinkedList(java.util.LinkedList)

Aggregations

IndexedCuboid6 (codechicken.lib.raytracer.IndexedCuboid6)1 Cuboid6 (codechicken.lib.vec.Cuboid6)1 LinkedList (java.util.LinkedList)1