首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 带纹理犹他壶

带纹理犹他壶

  • 资源大小:1.47 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: OpenGL图像 c++ 纹理

资 源 简 介

void reshape(int w, int h) {    glViewport(0, 0, (GLsizei) w, (GLsizei) h);    glMatrixMode(GL_PROJECTION);    glLoadIdentity();    if (w <= h)       glOrtho (-3.5, 3.5, -3.5*(GLfloat)h/(GLfloat)w,                3.5*(GLfloat)h/(GLfloat)w, -3.5, 3.5);    else       glOrtho (-3.5*(GLfloat)w/(GLfloat)h,                3.5*(GLfloat)w/(GLfloat)h, -3.5, 3.5, -3.5, 3.5);    glMatrixMode(GL_MODELVIEW);    glLoadIdentity();

文 件 列 表

带纹理的犹他壶.txt
VIP VIP
0.185408s