diff --git a/drape_frontend/common_structures.hpp b/drape_frontend/common_structures.hpp index 6e7f33e3ad..d45cec2dfb 100644 --- a/drape_frontend/common_structures.hpp +++ b/drape_frontend/common_structures.hpp @@ -90,4 +90,24 @@ struct vec4 float w; }; +template +struct Quad +{ + Quad() {} + Quad(TVertex const & v0, TVertex const & v1, + TVertex const & v2, TVertex const & v3) + { + v[0] = v0; + v[1] = v1; + v[2] = v2; + v[3] = v3; + } + + TVertex v[4]; +}; + +typedef Quad Quad2; +typedef Quad Quad3; +typedef Quad Quad4; + }