* Check if a 2D coordinate is in the 0-15 range. */
| 172 | * Check if a 2D coordinate is in the 0-15 range. |
| 173 | */ |
| 174 | inline bool is_valid_tile_coord(df::coord2d p) { |
| 175 | return (p.x & ~15) == 0 && (p.y & ~15) == 0; |
| 176 | } |
| 177 | |
| 178 | /** |
| 179 | * Utility class representing a cuboid of df::coord. |
no outgoing calls
no test coverage detected