2012-06-05 54 views

回答

1

鑑於

  • width和視口的height
  • 和 「相應」 正投影(例如gluOrtho2D(0, width, 0, height)
  • 並且沒有其他模型視圖變換,

glRectf(0, height, 200, height-200)創建期望的輸出。