Add comment

This commit is contained in:
Miloslav Číž 2018-09-25 10:09:31 +02:00
parent 6b0f5e86fb
commit 3d8c211046

View file

@ -974,6 +974,10 @@ int16_t intensity = 0;
#endif
#ifndef NO_SHADING
/* NOTE: to gain a lot of performance, it's best to have precomputed color
color gradients and look the colors up as opposed to calling
addIntensity(...), but for the sake of simplicity we don't do it
here. */
if (previousColumn == pixel->position.x)
{
color = addIntensity(color,pixelIntensity);