设置清空深度缓冲区时的值,范围会自动截取到[0,1]大于1的取1,小于0的取0.默认值为1
void glClearDepth( GLdouble depth);
depth
Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
指定深度缓冲区清除时设置的值,默认为1.
设置清空深度缓冲区时的值,范围会自动截取到[0,1]大于1的取1,小于0的取0.默认值为1
void glClearDepth( GLdouble depth);
depth
Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
指定深度缓冲区清除时设置的值,默认为1.