Add construction of TileCoordsXYZD with TileCoordsXYZ

This commit is contained in:
ZehMatt 2021-07-27 19:57:45 +03:00
parent afc4cd7cba
commit b9ec5d079e
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 6 additions and 0 deletions

View File

@ -615,6 +615,12 @@ struct TileCoordsXYZD : public TileCoordsXYZ
{
}
TileCoordsXYZD(const TileCoordsXYZ& t_, Direction d_)
: TileCoordsXYZ(t_)
, direction(d_)
{
}
TileCoordsXYZD(const TileCoordsXY& t_, int32_t z_, Direction d_)
: TileCoordsXYZ(t_, z_)
, direction(d_)