学习3D游戏编程大师技巧日志
abcwangdragon
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
关于memset方法
memset方法是以单字节真充的,速度并不快,改进这:1. 一次填充4个字节和一次填充2个字节inline void memset_QUAD(void* dest,UINT data,int count)...{ _asm ...{ mov edi,dest;//edi指向目标内存 mov ecx,count;//要移动32位数字原创 2006-10-11 14:54:00 · 601 阅读 · 0 评论 -
一画线方法
int Draw_Line(int x0, int y0, // starting position int x1, int y1, // ending position int color, // color index UCHAR *vb_start, int lpitch) // video buffer原创 2006-10-12 13:47:00 · 654 阅读 · 0 评论 -
重定向用fscanf方法
int Load_Palette_From_File(char *filename, LPPALETTEENTRY palette)...{// this function loads a palette from disk into a palette// structure, but does not set the palletteFILE *fp_file; // working原创 2006-10-12 14:12:00 · 751 阅读 · 0 评论
分享