[纠错][Interactive Computer Graphics]书随例子bit.c中的错误
来源:互联网 发布:哪里找淘宝客服兼职 编辑:程序博客网 时间:2024/05/16 13:43
[Interactive Computer Graphics --a top-down approach with opengl]
bit.c
错误:窗口大小改变后,点鼠标左键,光标处的贴图位置不再准确。
修正:程序中宽和高(w和h)搞错了。
第15行,ww变量改成hh
第37行,ww=w改成hh=h
第48行,glRasterPos2i(x, ww-y);改成glRasterPos2i(x, hh-y);
- [纠错][Interactive Computer Graphics]书随例子bit.c中的错误
- ‘Interactive Computer Graphics’5th. completed
- Interactive Simulation of Elastic Deformable Materials论文中的公式纠错
- Interactive Computer Graphics :3.10.4 Rotation About an Arbitrary Axis 绕任意轴旋转
- Interactive Computer Graphics - A Top-Down Approach with Shader-Based OpenGL
- Mathematics for Computer Graphics数学在计算机图形学中的应用
- Mathematics for Computer Graphics
- Sprite in computer graphics
- Mathematics for Computer Graphics
- Mathematics for Computer Graphics
- Mathematics for Computer Graphics
- mathmetics for computer graphics
- Mathematics for Computer Graphics
- Computer Graphics会议
- Computer Graphics Research Software
- Computer Graphics-January 12
- Mathematics for Computer Graphics
- hdoj4716A Computer Graphics Problem
- 五一长假
- 重新安装 Windows 的引导程序
- 大难来临时,你会牵住我的手吗?
- 单件的 static 实现
- 《Delphi从入门到精通》第21章 第二部分创建IntraWeb应用程序
- [纠错][Interactive Computer Graphics]书随例子bit.c中的错误
- 艺术化的程序设计
- XML资源汇总
- 对RIA的看法
- 清风--AI练习贴
- 搜 索 引 擎 分 类
- 转载:编程之道
- NHibernate进行 Text字段映射
- 对会计软件中凭证输入模块的一点看法