创建DirectGLRender分支和基示测试程序
This commit is contained in:
parent
b872105f75
commit
b8b818e6f2
@ -1,4 +1,5 @@
|
||||
add_subdirectory(EnumRenderDevice)
|
||||
add_subdirectory(OutputGLInfo)
|
||||
add_subdirectory(NullWindow)
|
||||
add_subdirectory(DrawTriangle)
|
||||
add_subdirectory(DirectGLRender)
|
||||
# add_subdirectory(DrawTriangle)
|
||||
|
1
example/DirectGLRender/CMakeLists.txt
Normal file
1
example/DirectGLRender/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
||||
|
1
example/DirectGLRender/main.cpp
Normal file
1
example/DirectGLRender/main.cpp
Normal file
@ -0,0 +1 @@
|
||||
|
@ -5,10 +5,6 @@
|
||||
#include<stdlib.h>
|
||||
#include<initializer_list>
|
||||
|
||||
#if defined(__BORLANDC__)||defined(__TURBOC__)||defined(__CODEGEARC__)
|
||||
#pragma warn -8022 //使hides vitual function警告无效
|
||||
#endif//
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
/**
|
||||
@ -64,7 +60,7 @@ namespace hgl
|
||||
|
||||
virtual void operator += (const T &obj){Add(obj);} ///<操作符重载添加一个数据
|
||||
virtual void operator << (const T &obj){Add(obj);} ///<操作符重载添加一个数据
|
||||
virtual void operator -= (const T &obj){DeleteByValue(obj);} ///<操作符重载删除一个数据
|
||||
virtual void operator -= (const T &obj){DeleteByValue(obj);} ///<操作符重载删除一个数据
|
||||
|
||||
bool Get(int,T &)const; ///<取得指定索引处的数据
|
||||
void Set(int,const T &); ///<设置指定索引处的数据
|
||||
|
Loading…
x
Reference in New Issue
Block a user