码迷,mamicode.com
首页 >  
搜索关键字:pragma autonomous_tr    ( 2499个结果
系列四:Sprite 我爱精灵,我爱VBO
经过前面几个系列的洗礼,对SDL及OPENGL有了很粗浅的认识 这次我们要升级了,钟爱的Sprite的闪现,先做个没有Shader的Spite,什么? 还有Shader?Shader是神马东东,别急,下一系列就会出现Shader Sprite.h 1 #pragma once 2 #include ...
分类:其他好文   时间:2020-04-17 12:52:37    阅读次数:80
系列三:OPENGL我来了
完成系列二后,心里相当激动,如果能看到精美的游戏动画多好...... 这不是做梦,有梦想就能实现,但是我们还是一步一步来,先来看一下显示普通的图形 注:在此版本里,用了最容易的老式OPENGL,后面接下来用的是新式的moden opengl MainGame.h 1 #pragma once 2 # ...
分类:其他好文   时间:2020-04-16 13:30:23    阅读次数:68
E 旗鼓相当的对手
```cpp#include#include#include#include#include#include#include#include#include#include#include#include//#include#include#include #pragma GCC optimize(... ...
分类:其他好文   时间:2020-04-15 21:44:00    阅读次数:84
4.3.2 稀疏矩阵转置(2)快速转置
SparseMatrix.h #pragma once #include<iostream> using namespace std; class Tri { public: int col; int row; int value; }; class SparseMatrix { public: i ...
分类:其他好文   时间:2020-04-13 10:37:44    阅读次数:62
4.3.2 稀疏矩阵转置(1)
SparsrMatrix.h #pragma once #include<iostream> using namespace std; class Tri { public: int row; int col; int value; }; class SparseMatrix { public: i ...
分类:其他好文   时间:2020-04-12 12:26:08    阅读次数:70
Spherical类定义和实现
此类是一个全景摄像机视角,书上介绍了详细原理。直接给实现代码。 类声明: #pragma once #ifndef __SPHERICAL_HEADER__ #define __SPHERICAL_HEADER__ #include "camera.h" class Spherical :publi ...
分类:其他好文   时间:2020-04-07 09:55:12    阅读次数:79
课后习题 3.10 用栈逆置单链表
LinkList.h #pragma once #include<iostream> using namespace std; class LNode { public: int data; LNode* next; }; class LinkList { public: LNode* first; ...
分类:其他好文   时间:2020-04-04 11:31:50    阅读次数:59
C++抓图服务
基于前两篇抓图文章,本文将抓图提取为一个服务,实现不同场景下抓图需求的封装。 C++使用BitBlt进行窗口抓图 C++使用PrintWindow进行窗口抓图 首先是抓图服务: ICaptureHelper.h #pragma once #include <windows.h> #include < ...
分类:编程语言   时间:2020-03-31 17:17:08    阅读次数:73
3.3.2 循环队列
Queue.h #pragma once #include<iostream> using namespace std; class Queue { public: int front; int rear; int maxSize; int* elements; Queue(int size=20) ...
分类:其他好文   时间:2020-03-31 10:45:00    阅读次数:73
输出分割的字符串
1 #pragma warning(disable:4996) 2 #include<stdio.h> 3 #include<string.h> 4 #include<stdlib.h> 5 int main() { 6 7 FILE*p = fopen("Text.txt", "r+"); 8 i ...
分类:其他好文   时间:2020-03-30 19:59:48    阅读次数:70
2499条   上一页 1 ... 8 9 10 11 12 ... 250 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!