- glViewport(WIDTH / 4 * 2, 0, WIDTH / 4, HEIGHT / 4);
- drawTeapot(teapotPerspStatic, false, d, lightPos, lightColor);
+ Model::Node *key = chest->find("key");
+ key->model = glm::translate(glm::mat4(1), glm::vec3(0, 0, sin(d)));
+
+ chest->getRoot()->model = glm::translate(glm::mat4(1), chestPos);
+ chest->draw();
+
+ /* drawTeapot(teapotCamera, false, d, lightPos, lightColor); */
+
+ /* glClear(GL_DEPTH_BUFFER_BIT); */
+
+ /* glViewport(0, 0, WIDTH / 4, HEIGHT / 4); */
+ /* drawTeapot(teapotOrtho, false, d, lightPos, lightColor); */
+
+ /* glViewport(WIDTH / 4, 0, WIDTH / 4, HEIGHT / 4); */
+ /* drawTeapot(teapotOrtho, true, d, lightPos, lightColor); */
+
+ /* glViewport(WIDTH / 4 * 2, 0, WIDTH / 4, HEIGHT / 4); */
+ /* drawTeapot(teapotPerspStatic, false, d, lightPos, lightColor); */
+
+ /* glViewport(WIDTH / 4 * 3, 0, WIDTH / 4, HEIGHT / 4); */
+ /* drawTeapot(teapotPerspAnimated, false, d, lightPos, lightColor); */