#NEWLINE# def do_fov( x , y , radius , fov_matrix , level ) : #NEWLINE# #INDENT# '\n    Calculate lit squares from the given location and radius\n    ' #NEWLINE# for oct in range ( 8 ) : #NEWLINE# #INDENT# cast_light ( x , y , 1 , 1.0 , 0.0 , radius , mult [ 0 ] [ oct ] , mult [ 1 ] [ oct ] , mult [ 2 ] [ oct ] , mult [ 3 ] [ oct ] , fov_matrix , level ) #NEWLINE# #UNINDENT# return fov_matrix