mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-16 14:40:05 +00:00
unknown issue with dma size, need to investigate deeper (had to increase target buffer size to avoid crashes)
This commit is contained in:
parent
0fb0b6056c
commit
f4d31a2dd8
@ -220,8 +220,8 @@ void ConcaveDemo::initPhysics()
|
||||
{
|
||||
for (int i=0;i<10;i++)
|
||||
{
|
||||
//btCollisionShape* boxShape = new btBoxShape(btVector3(1,1,1));
|
||||
btCollisionShape* boxShape = new btSphereShape(1.f);
|
||||
btCollisionShape* boxShape = new btBoxShape(btVector3(1,1,1));
|
||||
//btCollisionShape* boxShape = new btSphereShape(1.f);
|
||||
startTransform.setOrigin(btVector3(2*i,10,1));
|
||||
localCreateRigidBody(1, startTransform,boxShape);
|
||||
}
|
||||
|
@ -57,8 +57,8 @@ struct CollisionTask_LocalStoreMemory
|
||||
|
||||
static const int maxShapeSize = MAX_SHAPE_SIZE;//todo: make some compile-time assert that this is value is larger then sizeof(btCollisionShape)
|
||||
|
||||
ATTRIBUTE_ALIGNED16(char gCollisionShape0[maxShapeSize]);
|
||||
ATTRIBUTE_ALIGNED16(char gCollisionShape1[maxShapeSize]);
|
||||
ATTRIBUTE_ALIGNED16(char gCollisionShape0[MAX_SHAPE_SIZE+1]);//todo: check out why leaving out '+1' causes troubles
|
||||
ATTRIBUTE_ALIGNED16(char gCollisionShape1[MAX_SHAPE_SIZE+1]);
|
||||
|
||||
ATTRIBUTE_ALIGNED16(int spuIndices[16]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user