Hello. Me again i make my rectangles x 0 but they drawing at end
#include <GL/glut.h>
#include <stdlib.h>
GLfloat aci;
void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far);
void gluPerspective(GLdouble fov, GLdouble aspect, GLdouble near, GLdouble far);
void ayarlar(void)
{
glClearColor(0.0,0.0,0.0,0.0);
glShadeModel(GL_SMOOTH);
gluPerspective(0.0,0.0, 0.0, 0.0);
}
void gosterim(void)
{
glMatrixMode (GL_PROJECTION);
glMatrixMode (GL_MODELVIEW);
glLoadIdentity ();
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1.0, 0.0, 0.0);
glRotatef(aci,1.0,1,0.0);
glBegin( GL_QUADS );
glVertex3f(0.0f,0.0f,0.0f);
glVertex3f(1.0f,0.0f,0.0f);
glVertex3f(1.0f,1.0f,0.0f);
glVertex3f(1.0f,1.0f,0.0f);
glColor3i(1,1,0);
glEnd();
This is my camera and draw code. They drawing at last please help.