| 928 | } |
| 929 | |
| 930 | void BodySim::createSqBounds() |
| 931 | { |
| 932 | if(!isActive() || usingSqKinematicTarget() || readInternalFlag(BF_IS_COMPOUND_RIGID)) |
| 933 | return; |
| 934 | |
| 935 | PX_ASSERT(!isFrozen()); |
| 936 | |
| 937 | ElementSim* current = getElements_(); |
| 938 | while(current) |
| 939 | { |
| 940 | static_cast<ShapeSim*>(current)->createSqBounds(); |
| 941 | current = current->mNextInActor; |
| 942 | } |
| 943 | } |
| 944 | |
| 945 | void BodySim::destroySqBounds() |
| 946 | { |
no test coverage detected