Lines Matching refs:Height
16 static int Width = 400, Height = 200;
51 glReadPixels(0, 0, Width, Height, GL_DEPTH_COMPONENT, GL_FLOAT, Zimg);
52 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, Cimg);
91 glDrawPixels(Width, Height, GL_DEPTH_COMPONENT, GL_FLOAT, Zimg);
98 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, Cimg);
116 Reshape(int width, int height)
118 GLfloat ar = (float) width / height;
119 glViewport(0, 0, width, height);
128 Height = height;
134 Zimg = (float *) malloc(width * height * 4);
135 Cimg = (GLubyte *) malloc(width * height * 4);
210 glutInitWindowSize(Width, Height);