trackball.mesa.lib
来自「su 的源代码库」· LIB 代码 · 共 27 行
LIB
27 行
TRACKBALL - a MESA trackball trackball - make a mouse simulate a trackball in a MESA graphics windowFunction Prototype:voidtrackball(float q[4], float p1x, float p1y, float p2x, float p2y, float tbs);Input:Output:Returns: void Notes: Trackball code: Implementation of a virtual trackball. Implemented by Gavin Bell, lots of ideas from Thant Tessman and the August '88 issue of Siggraph's "Computer Graphics," pp. 121-129. Vector manip code: Original code from: David M. Ciemiewicz, Mark Grossman, Henry Moreton, and Paul Haeberli Much mucking with by: Gavin BellAuthor: CWP: Zhaobo Meng, based on existing Mesa code.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?