Skip to content

Commit ab41e5c

Browse files
committed
update jgl, rm unsused from tileWorld
1 parent f86cd0f commit ab41e5c

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

include/World/tileWorld.h

+2-5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ namespace Hop::World
2020
Boundary<double> * b
2121
);
2222

23+
~TileWorld() = default;
24+
2325
bool updateRegion(float x, float y);
2426

2527
void worldToTileData(double x, double y, Tile & h, double & x0, double & y0, double & s, int & i, int & j);
@@ -92,11 +94,6 @@ namespace Hop::World
9294

9395
Tile tileType(int i, int j);
9496
void tileToIdCoord(int ix, int iy, int & i, int & j);
95-
96-
private:
97-
98-
bool hardOutOfBounds = false;
99-
10097
};
10198

10299
}

src/World/tileWorld.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ namespace Hop::World
1414
: AbstractWorld(s,c,renderRegion,dynamicsShell,f,b)
1515
{
1616

17-
hardOutOfBounds = b->isHard();
18-
1917
forceUpdate = true;
2018

2119
float w = 1.0 / RENDER_REGION_SIZE;

0 commit comments

Comments
 (0)