Rajveer
03-22-2002, 05:28 AM
From the following bit of code:
double eqn[4] = {0.0, 1.0, 0.0, 0.0};
glClipPlane(GL_CLIP_PLANE0, eqn);
glEnable(GL_CLIP_PLANE0);
everything that is located below the plane y=0 gets clipped. So how do I clip everything above the plane y=0 ??
double eqn[4] = {0.0, 1.0, 0.0, 0.0};
glClipPlane(GL_CLIP_PLANE0, eqn);
glEnable(GL_CLIP_PLANE0);
everything that is located below the plane y=0 gets clipped. So how do I clip everything above the plane y=0 ??