TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BumpMapPreprocess.h
Go to the documentation of this file.
1 
13 #ifndef G3D_BumpMapPreprocess_h
14 #define G3D_BumpMapPreprocess_h
15 
16 #include "G3D/platform.h"
17 
18 namespace G3D {
19 class Any;
20 
26 public:
27 
32 
40 
43  bool scaleZByNz;
44 
45  BumpMapPreprocess() : lowPassFilter(false), zExtentPixels(-0.02f), scaleZByNz(false) {}
46 
47  BumpMapPreprocess(const Any& any);
48 
49  Any toAny() const;
50 
51  bool operator==(const BumpMapPreprocess& other) const {
52  return
53  (lowPassFilter == other.lowPassFilter) &&
54  (zExtentPixels == other.zExtentPixels) &&
55  (scaleZByNz == other.scaleZByNz);
56  }
57 };
58 
59 }
60 
61 #endif
BumpMapPreprocess()
Definition: BumpMapPreprocess.h:45
bool operator==(const BumpMapPreprocess &other) const
Definition: BumpMapPreprocess.h:51
Definition: AABox.h:25
bool any(float x)
Definition: g3dmath.h:424
#define false
Definition: CascPort.h:18
Easy loading and saving of human-readable configuration files.
Definition: Any.h:184
Definition: BumpMapPreprocess.h:25
float zExtentPixels
Definition: BumpMapPreprocess.h:39
bool scaleZByNz
Definition: BumpMapPreprocess.h:43
bool lowPassFilter
Definition: BumpMapPreprocess.h:31
Any toAny() const
Definition: BumpMapPreprocess.cpp:35