Quick Reference
Checks (True / False) 1
| withinSlack() | Whether light i as it stands now lies inside what it was packed with (key, and its two slacks). |
Updating & Drawing 1
| updateCached() | Update only cells entered or left by a light; intersection maths is shared with fill(). |
Checks (True / False)
withinSlack
static sourceReactor3D.LightGrid.withinSlack(key, slack, i, pos, color, aim)
Whether light i as it stands now lies inside what it was packed with (key, and its two slacks).
Updating & Drawing
updateCached
static sourceReactor3D.LightGrid.updateCached(uniforms, focus)
Update only cells entered or left by a light; intersection maths is shared with fill().