precomputed shade wall lighting

This commit is contained in:
anton.gurov
2019-10-31 16:30:12 +03:00
parent 1c44dd0885
commit cddc5fa70f
3 changed files with 58 additions and 83 deletions

View File

@ -54,6 +54,9 @@ func TestPrecompShade(t *testing.T) {
level.SetTileByXY(5, 10, gamemap.NewWall())
level.SetTileByXY(10, 11, gamemap.NewWall())
level.SetTileByXY(10, 12, gamemap.NewWall())
level.SetTileByXY(10, 13, gamemap.NewWall())
level.SetTileByXY(11, 10, gamemap.NewWall())
ppFov.ComputeFov(level, playerCoords, 12)