15 for (
int i = 0; i < Height; ++i)
16 for (
int j = 0; j < Width; ++j)
18 Indices.push_back((i + 1) * (Width + 1) + j + 1);
19 Indices.push_back((i + 0) * (Width + 1) + j + 1);
20 Indices.push_back((i + 0) * (Width + 1) + j + 0);
21 Indices.push_back((i + 0) * (Width + 1) + j + 0);
22 Indices.push_back((i + 1) * (Width + 1) + j + 0);
23 Indices.push_back((i + 1) * (Width + 1) + j + 1);
std::vector< u32 > Indices
grid(int Width, int Height)
Topology grid object class definition module.
Sculpto library prehompiled header. Defines common definitions, includes commonly used modules.