light: CalcPoints_Debug: log 'occluded' state

This commit is contained in:
Eric Wasylishen 2017-02-10 15:50:51 -07:00
parent 9aae46bd1c
commit 6f72ab5eda
1 changed files with 1 additions and 0 deletions

View File

@ -439,6 +439,7 @@ CalcPoints_Debug(const lightsurf_t *surf, const bsp2_t *bsp)
fprintf(f, "\"classname\" \"light\"\n");
fprintf(f, "\"origin\" \"%f %f %f\"\n", point[0], point[1], point[2]);
fprintf(f, "\"face\" \"%d\"\n", facenum);
fprintf(f, "\"occluded\" \"%d\"\n", (int)surf->occluded[i]);
fprintf(f, "\"s\" \"%d\"\n", s);
fprintf(f, "\"t\" \"%d\"\n", t);
fprintf(f, "}\n");