public static class QBImporter.QBMatrix
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int[][][] |
matrix |
java.lang.String |
name |
BlockCoord |
pos |
BlockCoord |
size |
| Constructor and Description |
|---|
QBMatrix() |
| Modifier and Type | Method and Description |
|---|---|
CCModel |
buildModel(java.util.List<QBImporter.QBQuad> quads,
java.awt.image.BufferedImage img,
boolean scaleMC) |
void |
convertBGRAtoRGBA() |
java.util.List<QBImporter.QBQuad> |
extractQuads(boolean texturePlanes) |
void |
readMatrix(java.io.DataInputStream din,
boolean compressed) |
java.util.List<QBImporter.QBCuboid> |
rectangulate() |
public java.lang.String name
public BlockCoord pos
public BlockCoord size
public int[][][] matrix
public void readMatrix(java.io.DataInputStream din,
boolean compressed)
throws java.io.IOException
java.io.IOExceptionpublic void convertBGRAtoRGBA()
public java.util.List<QBImporter.QBCuboid> rectangulate()
public java.util.List<QBImporter.QBQuad> extractQuads(boolean texturePlanes)
public CCModel buildModel(java.util.List<QBImporter.QBQuad> quads, java.awt.image.BufferedImage img, boolean scaleMC)