Porting Points
OpenGL has no command to draw a single point. Otherwise, porting point functions is straightforward. The following table lists IRIS GL functions for drawing points and their equivalent OpenGL functions.
IRIS GL function | OpenGL function | Meaning |
---|---|---|
pnt | Draws a single point. | |
bgnpoint, endpoint | glBegin ( GL_POINTS ), glEnd | Interprets vertices as points. |
pntsize | glPointSize | Sets point size in pixels. |
pntsmooth | glEnable ( GL_POINT_SMOOTH ) | Turns on point antialiasing. (For more information on point antialiasing, see Porting Antialiasing Functions.) |
For information about related get functions, see glPointSize.
??
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for