00001 00002 #include "open_prospect.h" 00003 00004 class TargetStructGL:public TargetStruct 00005 { 00006 public: 00007 00008 TargetStructGL (void):TargetStruct () 00009 { 00010 sphere_list = -1; 00011 colors = NULL; 00012 } 00013 00014 void VOB_Init (void); 00015 void SphereList_Init (void); 00016 void DrawBackBoneLine (void); 00017 void DrawAtomSphere (void); 00018 00019 void SetLen (int new_len); 00020 00021 void SetColor (int num, float red, float green, float blue); 00022 00023 private: 00024 vec3 * colors; 00025 int m_nVertexCount; 00026 GLuint m_nVBOVertices, sphere_list; 00027 };