Core/Dependencies: Update G3D to version 8.01

This commit is contained in:
Nay
2012-09-03 15:39:07 +01:00
parent 5f6e190a96
commit 0db5573d4d
18 changed files with 216 additions and 857 deletions
+2 -3
View File
@@ -86,12 +86,11 @@ namespace G3D {
<PRE>
template<> struct HashTrait<MyEnum> {
static size_t equals(const MyEnum& key) const { return reinterpret_cast<size_t>( key ); }
static size_t hashCode(const MyEnum& key) const { return reinterpret_cast<size_t>( key ); }
};
</PRE>
And rely on the default enum operator==.
and rely on the default enum operator==.
Periodically check that debugGetLoad() is low (> 0.1). When it gets near
1.0 your hash function is badly designed and maps too many inputs to