glm::mat4 view = glm::translate(glm::mat4(), glm::vec3(0.0f, 0.0f, 0.0f));
glm::mat4 ortho = glm::ortho(0.0f, float(SCREEN_W), float(SCREEN_H), 0.0f, -1.0f, 1.0f);
glm::vec4 rect = glm::vec4(0.0f, 0.0f, 1.0f, 1.0f);
glm::vec4 transformed = rect * view * ortho;
std::cout << "x: " << transformed.x << " y: " << transformed.y << " w: " << transformed.w << " t: " << transformed.t << " z : " << transformed.z << "\n";
float x = transformed.x;
float width = transformed.w;
float y = transformed.y;
float height = transformed.z;
vertices[0][0] = x; // top left X
vertices[0][1] = y; //top left Y
vertices[1][0] = x; // bottom left X
vertices[1][1] = height; // bottom left Y
vertices[2][0] = width; // bottom right X
vertices[2][1] = height; //bottom right Y
vertices[3][0] = width; // top right X
vertices[3][1] = y; // top right Y