| 846 | } |
| 847 | |
| 848 | int PhysicsBody::getContactTestBitmask() const |
| 849 | { |
| 850 | if (!_shapes.empty()) |
| 851 | { |
| 852 | return _shapes.front()->getContactTestBitmask(); |
| 853 | } |
| 854 | else |
| 855 | { |
| 856 | return 0x00000000; |
| 857 | } |
| 858 | } |
| 859 | |
| 860 | void PhysicsBody::setCollisionBitmask(int bitmask) |
| 861 | { |
no test coverage detected