您的位置:首页 > 运维架构

opengl的关于坐标系和成像的几个函数

2015-05-26 11:20 155 查看


关于opengl的几个函数

2012-10-21阅读196 评论0

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

)

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: