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

📄 bitmap.h

📁 source code to compute the visibility polygon of a point in a polygon.
💻 H
字号:
/* Brian O'Connor * bitmap.h * macros that facilitate treating a 32-bit int as a 32-bit bitmap. */#ifndef BITMAP_H#define BITMAP_Htypedef int Bitmap;#define BITMAP_SIZE (sizeof(int) * 8)int TestBit(Bitmap b, int i);void SetBit(Bitmap b, int i);void ClearBit(Bitmap b, int i);int MapIsClear(Bitmap b);void PrintBitmap(Bitmap b);Bitmap ZeroBitmap(void);#endif

⌨️ 快捷键说明

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