00001 //------------------------------------------------------------------- 00002 // glTrue.h 00003 // 00004 // An L3 algorithm, that always returns true. Useful to bypass 00005 // L3 processing. 00006 // 00007 //------------------------------------------------------------------- 00008 #ifndef GL3_TRUE 00009 #define GL3_TRUE 00010 00011 #include "Stl3Util/gl3/gl3Algorithm.h" 00012 00013 class gl3True : public gl3Algorithm 00014 { 00015 public: 00016 virtual int decide(); 00017 00018 virtual const int getAlgorithmID() 00019 { return L3_ALGORITHM_TRUE; } 00020 virtual const char *getAlgorithmName() 00021 { return L3_ALGORITHM_TRUE_NAME; } 00022 00023 private: 00024 00025 }; 00026 00027 00028 #endif
1.5.9