Graphics 版 (精华区)
发信人: dcs (euraka), 信区: Graphics
标 题: Motif&Opengl(7)
发信站: 紫 丁 香 (Mon Mar 29 21:43:57 1999), 转信
2.4 Handling Input
The input routine handles X events for the drawing area. Input events require no special handling for OpenGL. But remember
that the coordinate systems for X and OpenGL are distinct, so pointer locations need to be mapped into OpenGL's coordinate
space. OpenGL generally assumes that the origin is in the lower left-hand corner, while X always assumes an origin at the
upper left-hand corner.
--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: 202.118.239.121]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.797毫秒