use int4 for broadphase pair, it allows to store persistent information in the future

(contact cache, applied impulse/warm starting info etc)
This commit is contained in:
erwincoumans
2013-07-31 09:58:15 -07:00
parent 338118b3c6
commit 7992ff816b
19 changed files with 127 additions and 94 deletions

View File

@@ -16,10 +16,10 @@ subject to the following restrictions:
#ifndef B3_OVERLAPPING_PAIR_H
#define B3_OVERLAPPING_PAIR_H
#include "Bullet3Common/b3Int2.h"
#include "Bullet3Common/b3Int4.h"
//typedef b3Int2 b3BroadphasePair;
struct b3BroadphasePair : public b3Int2
struct b3BroadphasePair : public b3Int4
{
explicit b3BroadphasePair(){}
b3BroadphasePair(int xx,int yy)