X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FTilemap.cc;h=9f24b1bce91547a200bf7de7090f9ce6a8110ca8;hp=1bfbfbcb9796e9b257970070b6243f2299a3b5eb;hb=29e3d45f7bbbf31eadf793c41ff2b3d9c47b7539;hpb=16d1a05b0777e97a45c48e2874aa4e5cc791282e diff --git a/src/Moof/Tilemap.cc b/src/Moof/Tilemap.cc index 1bfbfbc..9f24b1b 100644 --- a/src/Moof/Tilemap.cc +++ b/src/Moof/Tilemap.cc @@ -175,7 +175,7 @@ Tilemap::Tilemap(const std::string& name) : } -bool Tilemap::getTileCoords(unsigned index, Scalar coords[8]) +bool Tilemap::getTileCoords(unsigned index, Scalar coords[8]) const { // make sure the index represents a real tile if (index >= impl_->nTilesS_ * impl_->nTilesT_) return false; @@ -197,7 +197,7 @@ bool Tilemap::getTileCoords(unsigned index, Scalar coords[8]) } bool Tilemap::getTileCoords(unsigned index, Scalar coords[8], - Orientation orientation) + Orientation orientation) const { if (getTileCoords(index, coords)) {