Vulkan

关于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

)


posted on 2012-10-21 09:34  Vulkan  阅读(202)  评论(0编辑  收藏  举报

导航