Updates lighting state. Should be called by the component's update.
void update(double dt) { if (_config?.useComponentAngle == true) { angle = _calculateAngle(); } }