| 169 | } |
| 170 | |
| 171 | static float rand_float(uint32_t *seed) { |
| 172 | *seed = (*seed) * 1103515245u + 12345u; |
| 173 | return (float)((*seed >> 16) & 0x7FFF) / 32768.0f - 0.5f; |
| 174 | } |
| 175 | |
| 176 | /* Ceiling for a caller-requested node budget. CBM_UI_MAX_RENDER_NODES lowers |
| 177 | * (or raises, up to HARD_MAX_NODES) the ceiling for constrained deployments; |
no outgoing calls
no test coverage detected