没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
#include <GL/glut.h>
#include<GL/freeglut.h>
void timer(int p)//定时器
{
ry -= 5;
glutPostRedisplay();//将当前窗口标记为需要重新显示。
if (loopr)
glutTimerFunc(200, timer, 0);
}
void mouseWheel(int button, int dir, int x, int y)
{
printf("in mouse wheel \n");
if (dir > 0)
{
xishu = 1.2;
glutPostRedisplay();
}
else
{
xishu = 0.8;
glutPostRedisplay();
}
}
void mouse(int button, int state, int x, int y)
{
xishu = 1;
#include<GL/freeglut.h>
void timer(int p)//定时器
{
ry -= 5;
glutPostRedisplay();//将当前窗口标记为需要重新显示。
if (loopr)
glutTimerFunc(200, timer, 0);
}
void mouseWheel(int button, int dir, int x, int y)
{
printf("in mouse wheel \n");
if (dir > 0)
{
xishu = 1.2;
glutPostRedisplay();
}
else
{
xishu = 0.8;
glutPostRedisplay();
}
}
void mouse(int button, int state, int x, int y)
{
xishu = 1;








资源评论

- WT0101052021-10-14不全,别下
huabowen0
- 粉丝: 7
- 资源: 28

上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
已下载
下载帮助

看过该资源的人还看了
安全验证
文档复制为VIP权益,开通VIP直接复制
