Qiaowen
04-11-2012, 06:23 AM
Hello.
I want to draw a cuboid,and I want the length, width, height and color can be assigned. Do I have to use this kind of codes:
glBegin( GL_QUADS );
glVertex3f();
glEnd();
Is there any better way? And I also want to assign color value.
I want to draw a cuboid,and I want the length, width, height and color can be assigned. Do I have to use this kind of codes:
glBegin( GL_QUADS );
glVertex3f();
glEnd();
Is there any better way? And I also want to assign color value.