![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsGLSupport.cpp 00003 ******************************************************************************/ 00007 /****************************************************************************** 00008 SUKITTI PUNAK (09/09/2010) 00009 UPDATE (09/09/2010) 00010 ******************************************************************************/ 00011 #include "STAPsGLSupport.hpp" 00012 // Using Inclusion Model (i.e. definitions are included in declarations) 00013 // (this name.cpp is included in name.hpp) 00014 // Each friend is defined directly inside its declaration. 00015 00016 BEGIN_NAMESPACE_TAPs__OpenGL 00017 //============================================================================= 00018 // Constructors 00019 //----------------------------------------------------------------------------- 00020 GLSupport::GLSupport () 00021 : VAO( 0 ) 00022 , VBO_Positions( 0 ) 00023 , VBO_Indices( 0 ) 00024 {} 00025 //----------------------------------------------------------------------------- 00026 GLSupport::~GLSupport () 00027 {} 00028 //----------------------------------------------------------------------------- 00029 std::string GLSupport::StrInfo () const 00030 { 00031 std::ostringstream ss; 00032 ss << "GLSupport"; 00033 ss << " with "; 00034 ss << " VAO(" << VAO << ")"; 00035 ss << " VBO_Positions(" << VBO_Positions << ")"; 00036 ss << " VBO_Indices(" << VBO_Indices << ")"; 00037 ss << "\n"; 00038 return ss.str(); 00039 } 00040 //----------------------------------------------------------------------------- 00041 //============================================================================= 00042 // Assignment Operator 00043 //----------------------------------------------------------------------------- 00044 //GLSupport & GLSupport::operator= ( GLSupport const &orig ) 00045 //{} 00046 //----------------------------------------------------------------------------- 00047 //============================================================================= 00048 END_NAMESPACE_TAPs__OpenGL 00049 //34567890123456789012345678901234567890123456789012345678901234567890123456789 00050 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----