mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 17:26:41 +00:00
pushed too soon
This commit is contained in:
parent
4cb2d7ced4
commit
6d6697fd72
1 changed files with 0 additions and 2 deletions
|
@ -705,7 +705,6 @@ Vector Game::getWallNormal(Vector pos, int sampleArea, int obs)
|
|||
const TileVector t(pos); // snap to grid
|
||||
Vector avg;
|
||||
const float szf = (TILE_SIZE*(sampleArea-1));
|
||||
int c = 0;
|
||||
for (int x = t.x-sampleArea; x <= t.x+sampleArea; x++)
|
||||
{
|
||||
for (int y = t.y-sampleArea; y <= t.y+sampleArea; y++)
|
||||
|
@ -720,7 +719,6 @@ Vector Game::getWallNormal(Vector pos, int sampleArea, int obs)
|
|||
{
|
||||
v.setLength2D(szf - d);
|
||||
avg += v;
|
||||
++c;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue