关于opengl的几个函数
voidgluLookAT(
/*相机位置 */
GLdoubleeyex,GLdoubleeyey,GLdoubleeyez,
/*注视点位置 */
GLdoublecx,GLdoublecy,GLdoublecz,
/*相机朝上的方向 */
GLdoubleupx,GLdoubleupy,GLdoubleupz,
)
voidglFrustum(
GLdoubleleft,GLdoubleright,GLdoublebottom,
GLdoubletop,GLdoublenear,GLdoublefar
)
voidgluPerspective (
GLdoublefovy,GLdoubleaspect,
GLdoublenear,GLdoublefar
)
voidglOrtho(
GLdoubleleft,GLdoubleright,GLdoublebottom,
GLdoubletop,GLdoublenear,GLdoublefar
)
voidglViewport(
GLintx,GLinty,GLsizeiwidth,GLsizeiheight
)