Hierarchical Edge Bundle 1.0
|
00001 #pragma once 00002 #include "glm/glm.hpp" 00003 using glm::vec3; 00004 00011 class RenderPrimitives 00012 { 00013 public: 00017 RenderPrimitives(void); 00021 ~RenderPrimitives(void); 00022 00026 static void Initialize(void); 00030 static void Deinitialize(); 00034 static void DrawSphere(); 00038 static void DrawCircle(); 00042 static void DrawCube(); 00046 static void DrawRectangle(); 00050 static void DrawQuad(); 00054 static void DrawBillboard(); 00055 00056 private: 00057 //DisplayList 00058 static unsigned int dl_cube; 00059 static unsigned int dl_sphere; 00060 static unsigned int dl_circle; 00061 static unsigned int dl_rectangle; 00062 static unsigned int dl_quad; 00063 static unsigned int dl_billboard; 00064 };