Add construction of TileCoordsXYZD with TileCoordsXYZ

This commit is contained in:
ZehMatt committed 2021-07-27 19:57:45 +03:00
1 parent afc4cd7cba
commit b9ec5d079e
1 file changed
+6
+6
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_)