diff options
Diffstat (limited to 'gltfview/src')
-rw-r--r-- | gltfview/src/game.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gltfview/src/game.c b/gltfview/src/game.c index c711ce1..5e45c58 100644 --- a/gltfview/src/game.c +++ b/gltfview/src/game.c | |||
@@ -9,7 +9,6 @@ | |||
9 | #include <gfx/scene/node.h> | 9 | #include <gfx/scene/node.h> |
10 | #include <gfx/scene/object.h> | 10 | #include <gfx/scene/object.h> |
11 | #include <gfx/util/geometry.h> | 11 | #include <gfx/util/geometry.h> |
12 | #include <gfx/util/ibl.h> | ||
13 | #include <gfx/util/scene.h> | 12 | #include <gfx/util/scene.h> |
14 | #include <gfx/util/shader.h> | 13 | #include <gfx/util/shader.h> |
15 | #include <gfx/util/skyquad.h> | 14 | #include <gfx/util/skyquad.h> |
@@ -22,7 +21,6 @@ | |||
22 | #include <stdbool.h> | 21 | #include <stdbool.h> |
23 | #include <stdio.h> | 22 | #include <stdio.h> |
24 | #include <string.h> | 23 | #include <string.h> |
25 | #include <unistd.h> // usleep; TODO Remove. | ||
26 | 24 | ||
27 | // Paths to various scene files. | 25 | // Paths to various scene files. |
28 | static const char* BOX = "/assets/models/box.gltf"; | 26 | static const char* BOX = "/assets/models/box.gltf"; |
@@ -83,9 +81,6 @@ static SceneNode* load_scene( | |||
83 | return 0; | 81 | return 0; |
84 | } | 82 | } |
85 | Camera* camera = gfx_get_camera_camera(game->camera); | 83 | Camera* camera = gfx_get_camera_camera(game->camera); |
86 | // Sponza. | ||
87 | // spatial3_set_position(&camera->spatial, vec3_make(0, 100, 50)); | ||
88 | // Damaged helmet. | ||
89 | spatial3_set_position(&camera->spatial, vec3_make(0, 0, 2)); | 84 | spatial3_set_position(&camera->spatial, vec3_make(0, 0, 2)); |
90 | 85 | ||
91 | SceneNode* sky_light_node = load_skyquad(game); | 86 | SceneNode* sky_light_node = load_skyquad(game); |