You draw the object in the scaled coordinate system. • the Scale function: void glScalef(sx ,sy , sz). • Example: glScalef(2, 1 ,1 ); //scale the x-axis by 2,.
確定! 回上一頁