* @param modelData byte array containing model lump data
* @param offset location of the model in the byte array */
/*-------------------------------------------------------------------*/
public BSPModel(byte[] modelData, int offset)
{
bboxMin = new Vector3f(Utils.floatValue(modelData, offset), Utils.floatValue(modelData, offset + 4), Utils.floatValue(modelData, offset + 8));
bboxMax = new Vector3f(Utils.floatValue(modelData, offset + 12), Utils.floatValue(modelData, offset + 16), Utils.floatValue(modelData, offset + 20));
origin = new Vector3f(Utils.floatValue(modelData, offset + 24), Utils.floatValue(modelData, offset + 28), Utils.floatValue(modelData, offset + 32));
headNode = Utils.unsignedIntValue(modelData, offset + 36);
firstFace = Utils.unsignedIntValue(modelData, offset + 40);
numFaces = Utils.unsignedIntValue(modelData, offset + 44);
}