GLTools: 一些有用且可复用的函数 GLEW: OpenGL API的一些扩展机制 GLUT: OpenGL Utility toolkit, OpenGL跨平台相关,隐藏平台相关细节 RC代表渲染环境(Rendering Context),是运行中的OpenGL状态机句柄 使用OpenGL绘制三角形: // Triangle.cpp // Our first OpenGL program that will just draw a triangle on the screen. #inc
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [ [], [,4], [6,,7], [4,,8,3] ] The minimum path sum from top to bottom is 11 (i.e.,