⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clist.h

📁 3D游戏开发需要用到BSP树来经行场景渲染的管理。本代码包含完整的BSP及文件生成实现
💻 H
字号:
#pragma once

// macros for structures that have a *next member

#define ListForEach(type, list, n)	\
	type *n = list;				\
	for(;n;n = n->next)			\

#define ListClear(type, list)	\
	type *n = list;				\
	while(list) {				\
		type *cur = n;			\
		n = n->next;			\
		delete cur;				\
	}							\
	list = 0;					\

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -