* Get the last two bits of the TileHash * from a tile position. * * @see TileHash() * @param x The X coordinate * @param y The Y coordinate * @return The last two bits from hash of the tile */
| 340 | * @return The last two bits from hash of the tile |
| 341 | */ |
| 342 | inline uint TileHash2Bit(uint x, uint y) |
| 343 | { |
| 344 | return GB(TileHash(x, y), 0, 2); |
| 345 | } |
| 346 | |
| 347 | #endif /* TILE_MAP_H */ |
no test coverage detected