Search in sources :

Example 1 with IVertexOperation

use of cofh.repack.codechicken.lib.render.CCRenderState.IVertexOperation in project LogisticsPipes by RS485.

the class CoFHModel3D method render.

@Override
public void render(I3DOperation... i3dOperations) {
    List<IVertexOperation> list = new ArrayList<>();
    for (I3DOperation op : i3dOperations) {
        list.add((IVertexOperation) op.getOriginal());
    }
    model.render(list.toArray(new IVertexOperation[list.size()]));
}
Also used : IVertexOperation(cofh.repack.codechicken.lib.render.CCRenderState.IVertexOperation) ArrayList(java.util.ArrayList) I3DOperation(logisticspipes.proxy.object3d.interfaces.I3DOperation)

Aggregations

IVertexOperation (cofh.repack.codechicken.lib.render.CCRenderState.IVertexOperation)1 ArrayList (java.util.ArrayList)1 I3DOperation (logisticspipes.proxy.object3d.interfaces.I3DOperation)1