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

📄 glviewer.h

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 H
字号:
//GLViewer.h#ifndef GLVIEWER_H#define GLVIEWER_H#include "Node.h"class GLViewer{ public:  GLViewer();  ~GLViewer();  void CreateWin(char *Name, int Width, int Height);  //set buffer, backcolor  void SetValue(Enum PName, Enum Type);  void Init(int argc, char **argv);  void Show(Node *N); private:  void GLInit();  int ViewerIndex;  char *WinName;  float BackColor[3];  static Node *Root[3];  static int ViewerNum;  static int BufType[3];  static int WinWidth[3];  static int WinHeight[3];  static void Reshape0(int w, int h);  static void Display0();  static void Reshape1(int w, int h);  static void Display1();  static void Reshape2(int w, int h);  static void Display2();  };#endif

⌨️ 快捷键说明

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