Ngày tải lên :
24/02/2014, 21:16
... 0f, 1f);
7. glScalef(2.5f, 1f, 1.5f);
8. glRotatef (90 f, 0f, 0f, 1f);
R
z
(90
0
)S(2.5, 1, 1.5)R
z
(60
0
)T(3,2,1)
#define BROWN SCOLOR (170 , 75, 65)
void drawTessellation(int row=6, int ... SCOLOR(230, 130, 0)
#define SKY SCOLOR(160, 215, 225)
#define VIOLET SCOLOR( 190 , 180, 210)
#define PINK SCOLOR(225, 170 , 160)
#define YELLOW SCOLOR(255, 255, 0)
Solution Tut 4
Câu 1
Gọi
1 ...
glColor3f(0.0f, 0.0f, 0.0f);
drawCube();
for(int i = 1; i<10; i++)
{
fScale *= 0.9f;
fRotate += 22.5f;
glPushMatrix();
glColor3f(1.0f, 0.0f, 0.0f);
glPushMatrix();
...