switch hull indices to 32-bit indices

This commit is contained in:
Irlan
2018-07-19 13:05:14 -03:00
parent ad7c13005f
commit 261c5fc044
18 changed files with 137 additions and 167 deletions

View File

@ -24,8 +24,7 @@ class ConvexHull : public Test
public:
enum
{
// Half to avoid generation failure due to many vertices
e_count = B3_MAX_HULL_VERTICES / 2
e_count = 256
};
ConvexHull()

View File

@ -24,8 +24,7 @@ class HullCollision : public Collide
public:
enum
{
// Half to avoid generation failure due to many vertices
e_count = B3_MAX_HULL_VERTICES / 2
e_count = 256
};
HullCollision()

View File

@ -46,7 +46,7 @@ public:
{
b3QHull* hull = hulls + i;
const u32 count = B3_MAX_HULL_VERTICES / 4;
const u32 count = 32;
b3Vec3 points[count];
for (u32 j = 0; j < count; ++j)