| 85 | } |
| 86 | |
| 87 | void SpawnDiveBubbles(const Vector3& pos, int roomNumber, unsigned int count) |
| 88 | { |
| 89 | constexpr auto SPAWN_RADIUS = BLOCK(1 / 32.0f); |
| 90 | |
| 91 | auto sphere = BoundingSphere(pos, SPAWN_RADIUS); |
| 92 | for (int i = 0; i < count; i++) |
| 93 | { |
| 94 | auto bubblePos = Random::GeneratePointInSphere(sphere); |
| 95 | SpawnBubble(bubblePos, roomNumber, (int)BubbleFlags::HighAmplitude); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | void SpawnChaffBubble(const Vector3& pos, int roomNumber) |
| 100 | { |
no test coverage detected