29 float width = density * qx / 2;
30 float height = density * qy / 2;
33 for (
int i = 0; i < (qy + 1); i++) {
34 for (
int j = 0; j < (qx + 1); j++) {
40 for (
int i = 0; i < (qx + 1); i++) {
41 for (
int j = 0; j < (qy + 1); j++) {
Grid(float density=1.0f, int qx=50, int qy=50)
std::vector< glm::vec3 > vec_vertices_