A GLUT-based programming framework is presented. Technical details such as callback-function- based event management,transform sequence and stack operation,coordinate system are discussed.
简要介绍GLUT的主要功能和安装方法,给出一个基于GLUT的程序框架,详细分析基于回调函数的事件管理、变换顺序及堆栈操作、坐标系等技术。
参考来源 - 基于GLUT的OpenGL程序设计·2,447,543篇论文数据,部分数据来源于NoteExpress
很明显,直接方法执行速度要快一些,因为没有涉及到任何函数调用或堆栈操作。 但递归方法更优雅,能更好地反映问题的本质。
Obviously, the straightforward method is faster because there aren't any function calls or stack manipulation, but the recursive way is more elegant and better reflects the problem.
在程序开始时,由操作系统为您设置堆栈。
The stack is set up for you by the operating system when the program starts.
每个服务器都需要由多层软件组成的软件堆栈(操作系统、中间件和应用程序)。
Each server requires a software stack composed of layers of software (operating system, middleware, and applications).
应用推荐