switch hull indices to 32-bit indices
This commit is contained in:
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user