MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_layout_rand_float

Function cbm_layout_rand_float

src/ui/layout3d.c:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174float cbm_layout_rand_float(uint32_t *seed) {
175 *seed = (*seed) * 1103515245u + 12345u;
176 return (float)((*seed >> 16) & 0x7FFF) / 32768.0f - 0.5f;
177}
178
179/* Ceiling for a caller-requested node budget. CBM_UI_MAX_RENDER_NODES lowers
180 * (or raises, up to HARD_MAX_NODES) the ceiling for constrained deployments;

Callers 1

cbm_layout_from_nodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected