Insert spaces around operators. Or use:

    if (square_distance < square(light_near_start))

which in my opinion is even more readable (`foundation/math/scalar.h` must be included in the .h or .cpp file).