| 171 | iCameraDestroy(instance_camera); |
| 172 | RpWorldDestroy(instance_world); |
| 173 | |
| 174 | if (gLastAtomicCount > 1) |
| 175 | { |
| 176 | maxRadius = -1.0f; |
| 177 | maxIndex = 0; |
| 178 | |
| 179 | for (i = 0; i < gLastAtomicCount; i++) |
| 180 | { |
| 181 | if (gLastAtomicList[i]->boundingSphere.radius > maxRadius) |
| 182 | { |
| 183 | maxRadius = gLastAtomicList[i]->boundingSphere.radius; |
| 184 | maxIndex = i; |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | for (i = 0; i < gLastAtomicCount; i++) |
| 189 | { |
| 190 | if (i != maxIndex) |
| 191 | { |
| 192 | testRadius = xVec3Dist((xVec3*)&gLastAtomicList[i]->boundingSphere.center, |
no outgoing calls
no test coverage detected