| 256 | } |
| 257 | }; |
| 258 | void CPHShell::applyImpulse(const Fvector& dir, float val) |
| 259 | { |
| 260 | if (!isActive()) |
| 261 | return; |
| 262 | (*elements.begin())->applyImpulse(dir, val); |
| 263 | EnableObject(0); |
| 264 | }; |
| 265 | void CPHShell::applyImpulseTrace(const Fvector& pos, const Fvector& dir, float val) |
| 266 | { |
| 267 | if (!isActive()) |
no test coverage detected