Access
daojin505
这个作者很懒,什么都没留下…
展开
-
经典代码解析
//关于思想,整体思想patch//先定义一系列的顶点://给这些点付给固定的纹理和颜色, void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); pointer is the memory address of the first coordinate of the fir原创 2017-08-07 09:48:00 · 194 阅读 · 0 评论 -
c++中的概念模型
double sum(double array[], int n){ double result = 0; for (int i = 0; i < n; ++i) result = result + array[i]; return result;} 这是一个简单的求加的函数。 templateT sum(T array[], int n原创 2017-08-07 09:57:41 · 202 阅读 · 0 评论 -
CWindow
class CWindow{public: static RECT rcDefault; HWND m_hWnd; CWindow(_In_opt_ HWND hWnd = NULL) throw() : m_hWnd(hWnd) { } CWindow& operator=(_In_opt_ HWND hWnd) throw() { m_h原创 2017-08-07 10:06:46 · 699 阅读 · 0 评论