mirror of https://github.com/axmolengine/axmol.git
change ColliderFilter param type
This commit is contained in:
parent
c0bd7f012c
commit
36cd51a453
|
@ -34,7 +34,7 @@ namespace cocostudio {
|
|||
|
||||
|
||||
#if ENABLE_PHYSICS_BOX2D_DETECT
|
||||
ColliderFilter::ColliderFilter(unsigned short categoryBits, unsigned short maskBits, signed short groupIndex)
|
||||
ColliderFilter::ColliderFilter(uint16 categoryBits, uint16 maskBits, int16 groupIndex)
|
||||
: _categoryBits(categoryBits)
|
||||
, _maskBits(maskBits)
|
||||
, _groupIndex(groupIndex)
|
||||
|
@ -52,7 +52,7 @@ void ColliderFilter::updateShape(b2Fixture *fixture)
|
|||
}
|
||||
|
||||
#elif ENABLE_PHYSICS_CHIPMUNK_DETECT
|
||||
ColliderFilter::ColliderFilter(uintptr_t collisionType, uintptr_t group)
|
||||
ColliderFilter::ColliderFilter(cpCollisionType collisionType, cpGroup group)
|
||||
: _collisionType(collisionType)
|
||||
, _group(group)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue