}
-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;
}
bool Tilemap::getTileCoords(unsigned index, Scalar coords[8],
- Orientation orientation)
+ Orientation orientation) const
{
if (getTileCoords(index, coords))
{