Optimize: We do not need to calculate decormodel pitch and yaw every frame. Instead, calculate in decorateLineSection() when the position of the decoration is plotted and cache the result to surfacedecor_t. Fixed: decormodels are now lit by the lightgrid when bias lighting is enabled.
Optimize: We do not need to calculate decormodel pitch and yaw every frame. Instead, calculate in decorateLineSection() when the position of the decoration is plotted and cache the result to surfacedecor_t.
Fixed: decormodels are now lit by the lightgrid when bias lighting is enabled.