 | XGraphicsglVertex3d Method (Double, Double, Double) |
Specifies a 3d vertex.
Namespace:
Pixoneer.NXDL.NGR
Assembly:
NXDLgr (in NXDLgr.dll) Version: 1.2.817.72
Syntaxpublic virtual void glVertex3d(
double x,
double y,
double z
)
Parameters
- x
- Type: SystemDouble
Specifies the x-coordinate of a vertex. - y
- Type: SystemDouble
Specifies the y-coordinate of a vertex. - z
- Type: SystemDouble
Specifies the z-coordinate of a vertex.
Return Value
Type:
This function does not return a value.
Remarks
The glVertex function commands are used within glBegin/glEnd pairs to specify point, line, and polygon vertices. The current color, normal, and texture coordinates are associated with the vertex when glVertex is called. When only x and y are specified, z defaults to 0.0 and w defaults to 1.0. When x, y, and z are specified, w defaults to 1.0. Invoking glVertex outside of a glBegin/glEnd pair results in undefined behavior.
See Also