Skip to content

Commit

Permalink
update jgl, rm unsused from tileWorld
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Apr 13, 2024
1 parent f86cd0f commit 0aab115
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions include/World/tileWorld.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ namespace Hop::World
Boundary<double> * b
);

~TileWorld() = default;

bool updateRegion(float x, float y);

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

Tile tileType(int i, int j);
void tileToIdCoord(int ix, int iy, int & i, int & j);

private:

bool hardOutOfBounds = false;

};

}
Expand Down
2 changes: 0 additions & 2 deletions src/World/tileWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ namespace Hop::World
: AbstractWorld(s,c,renderRegion,dynamicsShell,f,b)
{

hardOutOfBounds = b->isHard();

forceUpdate = true;

float w = 1.0 / RENDER_REGION_SIZE;
Expand Down

0 comments on commit 0aab115

Please sign in to comment.