protected void renderTriangle(float[] v1, float[] v2, float[] v3) {
    // Calling code will have already done reset(3).
    // Can't do it here otherwise would nuke any texture settings.

    vertices[0] = v1;
    vertices[1] = v2;
    vertices[2] = v3;
    
    render();
    checkExpand();
  }