TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
G3D.h
Go to the documentation of this file.
1 
16 #ifndef G3D_G3D_h
17 #define G3D_G3D_h
18 #ifndef NOMINMAX
19  #define NOMINMAX 1
20 #endif
21 #ifdef min
22  #undef min
23 #endif
24 #ifdef max
25  #undef max
26 #endif
27 
28 #include "G3D/HaltonSequence.h"
29 #include "G3D/platform.h"
30 #include "G3D/Proxy.h"
31 #include "G3D/BIN.h"
32 #include "G3D/FileNotFound.h"
33 #include "G3D/units.h"
34 #include "G3D/ParseError.h"
35 #include "G3D/Random.h"
36 #include "G3D/Noise.h"
37 #include "G3D/Array.h"
38 #include "G3D/SmallArray.h"
39 #include "G3D/Queue.h"
40 #include "G3D/Crypto.h"
41 #include "G3D/format.h"
42 #include "G3D/Vector2.h"
43 #include "G3D/Vector2int32.h"
44 #include "G3D/Vector2int16.h"
45 #include "G3D/Vector2unorm16.h"
46 #include "G3D/Vector3.h"
47 #include "G3D/Vector3int16.h"
48 #include "G3D/Vector3int32.h"
49 #include "G3D/Vector4.h"
50 #include "G3D/Vector4int16.h"
51 #include "G3D/Vector4int8.h"
52 #include "G3D/Color1.h"
53 #include "G3D/Color3.h"
54 #include "G3D/Color4.h"
55 #include "G3D/Matrix2.h"
56 #include "G3D/Matrix3.h"
57 #include "G3D/Matrix4.h"
58 #include "G3D/CoordinateFrame.h"
59 #include "G3D/Projection.h"
60 #include "G3D/PhysicsFrame.h"
61 #include "G3D/PhysicsFrameSpline.h"
62 #include "G3D/Plane.h"
63 #include "G3D/Line.h"
64 #include "G3D/Ray.h"
65 #include "G3D/Sphere.h"
66 #include "G3D/Box.h"
67 #include "G3D/Box2D.h"
68 #include "G3D/AABox.h"
69 #include "G3D/WrapMode.h"
70 #include "G3D/CullFace.h"
71 #include "G3D/Cone.h"
72 #include "G3D/Quat.h"
73 #include "G3D/stringutils.h"
74 #include "G3D/prompt.h"
75 #include "G3D/Table.h"
76 #include "G3D/FileSystem.h"
77 #include "G3D/Set.h"
78 #include "G3D/GUniqueID.h"
79 #include "G3D/RayGridIterator.h"
80 #include "G3D/BinaryFormat.h"
81 #include "G3D/BinaryInput.h"
82 #include "G3D/BinaryOutput.h"
83 #include "G3D/debug.h"
84 #include "G3D/g3dfnmatch.h"
85 #include "G3D/G3DGameUnits.h"
86 #include "G3D/g3dmath.h"
87 #include "G3D/unorm8.h"
88 #include "G3D/unorm16.h"
89 #include "G3D/snorm8.h"
90 #include "G3D/snorm16.h"
91 #include "G3D/uint128.h"
92 #include "G3D/fileutils.h"
93 #include "G3D/ReferenceCount.h"
94 #include "G3D/Welder.h"
95 #include "G3D/GMutex.h"
96 #include "G3D/PrecomputedRandom.h"
97 #include "G3D/MemoryManager.h"
98 #include "G3D/BlockPoolMemoryManager.h"
99 #include "G3D/AreaMemoryManager.h"
100 #include "G3D/BumpMapPreprocess.h"
101 #include "G3D/CubeFace.h"
102 #include "G3D/Line2D.h"
103 #include "G3D/ThreadsafeQueue.h"
104 #include "G3D/network.h"
105 
106 template<class T> struct HashTrait< shared_ptr<T> > {
107  static size_t hashCode(shared_ptr<T> key) { return reinterpret_cast<size_t>( key.get() ); }
108 };
109 
110 #include "G3D/Image.h"
111 #include "G3D/CollisionDetection.h"
112 #include "G3D/Intersect.h"
113 #include "G3D/Log.h"
114 #include "G3D/serialize.h"
115 #include "G3D/TextInput.h"
116 #include "G3D/NetAddress.h"
117 #include "G3D/NetworkDevice.h"
118 #include "G3D/System.h"
119 #include "G3D/splinefunc.h"
120 #include "G3D/Spline.h"
121 #include "G3D/UprightFrame.h"
122 #include "G3D/LineSegment.h"
123 #include "G3D/Capsule.h"
124 #include "G3D/Cylinder.h"
125 #include "G3D/Triangle.h"
126 #include "G3D/Color1unorm8.h"
127 #include "G3D/Color2unorm8.h"
128 #include "G3D/Color3unorm8.h"
129 #include "G3D/Color4unorm8.h"
130 #include "G3D/ConvexPolyhedron.h"
131 #include "G3D/MeshAlg.h"
132 #include "G3D/vectorMath.h"
133 #include "G3D/Rect2D.h"
134 #include "G3D/KDTree.h"
135 #include "G3D/PointKDTree.h"
136 #include "G3D/TextOutput.h"
137 #include "G3D/MeshBuilder.h"
138 #include "G3D/Stopwatch.h"
139 #include "G3D/AtomicInt32.h"
140 #include "G3D/GThread.h"
141 #include "G3D/ThreadSet.h"
142 #include "G3D/RegistryUtil.h"
143 #include "G3D/Any.h"
144 #include "G3D/XML.h"
145 #include "G3D/PointHashGrid.h"
146 #include "G3D/Map2D.h"
147 #include "G3D/Image1.h"
148 #include "G3D/Image1unorm8.h"
149 #include "G3D/Image3.h"
150 #include "G3D/Image3unorm8.h"
151 #include "G3D/Image4.h"
152 #include "G3D/Image4unorm8.h"
153 #include "G3D/filter.h"
154 #include "G3D/WeakCache.h"
155 #include "G3D/Pointer.h"
156 #include "G3D/Matrix.h"
157 #include "G3D/ImageFormat.h"
158 #include "G3D/PixelTransferBuffer.h"
159 #include "G3D/typeutils.h"
160 #include "G3D/SpeedLoad.h"
161 #include "G3D/ParseMTL.h"
162 #include "G3D/ParseOBJ.h"
163 #include "G3D/ParsePLY.h"
164 #include "G3D/Parse3DS.h"
165 #include "G3D/PathDirection.h"
166 #include "G3D/FastPODTable.h"
167 #include "G3D/FastPointHashGrid.h"
168 #include "G3D/PixelTransferBuffer.h"
169 #include "G3D/CPUPixelTransferBuffer.h"
170 #include "G3D/CompassDirection.h"
171 #include "G3D/Access.h"
172 
173 namespace G3D {
174 
186  void initG3D(const G3DSpecification& spec = G3DSpecification());
187 }
188 
189 #ifdef _MSC_VER
190 # pragma comment(lib, "winmm")
191 # pragma comment(lib, "imagehlp")
192 # pragma comment(lib, "ws2_32")
193 # pragma comment(lib, "gdi32")
194 # pragma comment(lib, "user32")
195 # pragma comment(lib, "kernel32")
196 # pragma comment(lib, "advapi32")
197 # pragma comment(lib, "shell32")
198 # pragma comment(lib, "version")
199 # ifdef G3D_64BIT
200 # pragma comment(lib, "zlib_x64")
201 # pragma comment(lib, "zip_x64")
202 # pragma comment(lib, "enet_x64")
203 # else
204 # pragma comment(lib, "zlib")
205 # pragma comment(lib, "zip")
206 # pragma comment(lib, "enet")
207 # endif
208 # if defined(_DEBUG)
209 # ifdef G3D_64BIT
210 # pragma comment(lib, "G3D_x64d")
211 # pragma comment(lib, "freeimage_x64d")
212 # else
213 # pragma comment(lib, "G3Dd")
214 # pragma comment(lib, "freeimaged")
215 # endif
216 # else
217 # ifdef G3D_64BIT
218 # pragma comment(lib, "G3D_x64")
219 # pragma comment(lib, "freeimage_x64")
220 # else
221 # pragma comment(lib, "G3D")
222 # pragma comment(lib, "freeimage")
223 # endif
224 # endif
225 #endif
226 
227 #endif
228 
Definition: HashTrait.h:105
Definition: AABox.h:25
static size_t hashCode(shared_ptr< T > key)
Definition: G3D.h:107
void initG3D(const G3DSpecification &spec=G3DSpecification())