问题
I'm Trying to grow and shrink an point by using this function glPointSize()
float i;
for (i = 0.0; i < 400.0; i ++) {
glPointSize(i);
}
while (i > 0.0) {
glPointSize(i);
i--;
}
it just point, Couldn't know how to make it move?
回答1:
Implementations have a limitation on the size of points. The GL_POINT_SIZE_RANGE
can be used to fetch this limit, but it will generally be rather less than 400. A larger point size will be clamped to this range.
来源:https://stackoverflow.com/questions/57936064/point-to-grow-and-shrink-by-using-gl-pointsize