if (normBuf == null || normBuf.capacity() < (4 * bufferLength)) {
if (normBuf == null || normBuf.capacity() < (bufferLength)) {
    public void updateNormalBuffer() {        if (normal == null) { return; }        int bufferLength;        if (vertQuantity >= 0)          bufferLength = vertQuantity * 3;        else          bufferLength = vertex.length * 3;        if (normBuf == null || normBuf.capacity() < (4 * bufferLength)) {          normBuf = ByteBuffer.allocateDirect(4 * bufferLength).order(              ByteOrder.nativeOrder()).asFloatBuffer();        }        normBuf.clear();        Vector3f tempVect;        for (int i = 0, endPoint = bufferLength / 3; i < endPoint; i++) {          tempVect = normal[i];          if (tempVect != null) {            normBuf.put(tempVect.x).put(tempVect.y).put(tempVect.z);          }        }        normBuf.flip();    }