public void computeBoundingBox(){
		if (this.vertices.size() > 0) {
			Vector3 position = this.vertices.get(0).getPosition();
			this.boundingBox = new BoundingBox();
			boundingBox.x[0] = position.x;
			boundingBox.x[1] = position.x;
			boundingBox.y[0] = position.y;
			boundingBox.y[1] = position.y;
			boundingBox.z[0] = position.z;
			boundingBox.z[1] = position.z;
			for (int v = 1, vl = this.vertices.size(); v < vl; v++) {
				position = this.vertices.get(v).getPosition();

				if (position.getX() < this.boundingBox.x[0]) {
					this.boundingBox.x[0] = position.x;
				} else if (position.x > this.boundingBox.x[1]) {
					this.boundingBox.x[1] = position.x;
				}

				if (position.y < this.boundingBox.y[0]) {
					this.boundingBox.y[0] = position.y;
				} else if (position.y > this.boundingBox.y[1]) {
					this.boundingBox.y[1] = position.y;
				}

				if (position.z < this.boundingBox.z[0]) {
					this.boundingBox.z[0] = position.z;
				} else if (position.z > this.boundingBox.z[1]) {
					this.boundingBox.z[1] = position.z;
				}

			}

		}
	}