Fixed compilation problem with GCC 3.3.5 - which appears at first glance to be due to a compiler error.

This commit is contained in:
sjbaker
2006-11-20 23:21:05 +00:00
parent 460a09c5a5
commit 15bb51d780

View File

@@ -242,7 +242,7 @@ struct GJK
// vdh : very dumm hash
static inline U Hash(const Vector3& v)
{
const U h(U(v[0]*15461)^U(v[1]*83003)^U(v[2]*15473));
const U h((U)(v[0]*15461)^(U)(v[1]*83003)^(U)(v[2]*15473));
return(((*((const U*)&h))*169639)&GJK_hashmask);
}
//