C++ (Qt)std::vector <QPoint3D> mPoint; // котейнер точекtypedef int Triangle[3];std::vector <Triangle> mTriangle; // контейнер треугольников
C++ (Qt)std::vector <Triangle> mTriangle = { { 1, 2, 3 }, {4, 5, 6 } };
C++ (Qt)typedef std::array<int, 3> Triangle;
C++ (Qt) int arr[10][3] = { {1, 2, 3 }, {4, 5, 6 }, {}, {}, {}, {}, {}, {}, {}, {} }; std::vector<std::array<int,3>> tr = { {1, 2, 3 }, {4, 5, 6 }, {}, {}, {}, {}, {}, {}, {}, {} };
C++ (Qt)std::vector<std::array<int,3>> tr = { {{1, 2, 3 }}, {{4, 5, 6 }} };
C++ (Qt)typedef int Triangle[3];std::vector <Triangle> mTriangle; // контейнер треугольников