()
| 242 | } |
| 243 | |
| 244 | function destroyProxy() { |
| 245 | for (let i = 0; i < actors.length; ++i) { |
| 246 | const j = (Math.random() * actors.length) | 0; |
| 247 | const actor = actors[j]; |
| 248 | if (actor.proxyId != null) { |
| 249 | tree.destroyProxy(actor.proxyId); |
| 250 | actor.proxyId = null; |
| 251 | return; |
| 252 | } |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | function moveProxy() { |
| 257 | for (let i = 0; i < actors.length; ++i) { |
no test coverage detected