Function glVertex4dv

  • glVertex commands are used within glBegin/glEnd pairs to specify point, line, and polygon vertices. The current color, normal, texture coordinates, and fog coordinate are associated with the vertex when glVertex is called.

    When only 𝐱 and 𝐲 are specified, 𝐳 defaults to 0 and 𝐰 defaults to 1. When 𝐱, 𝐲, and 𝐳 are specified, 𝐰 defaults to 1.

    Parameters

    • v: number

      Specifies a pointer to an array of two, three, or four elements. The elements of a two-element array are 𝐱 and 𝐲; of a three-element array, 𝐱, 𝐲, and 𝐳; and of a four-element array, 𝐱, 𝐲, 𝐳, and 𝐰.

    Returns void

    Summary

    specify a vertex

    See

    glVertex

Generated using TypeDoc