code: private boolean isSplittable(int count, int type) {
  		switch (type) {
  		case GL11.GL_QUADS:
  			return count % 4 == 0;
  		case GL11.GL_TRIANGLES:
  			return count % 3 == 0;
  		case GL11.GL_LINE:
  			return count % 2 == 0;
  		}
  		
  		return false;
  	}
docs: Check if the geometry being created can be split at the current index
  
  @param count The current index
  @param type The type of geometry being built
  @return True if the geometry can be split at the current index