summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-20 21:00:14 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-20 22:22:56 +0200
commit728e6dad7306b2aceff46b19491346e49b0bba15 (patch)
treeeb9b7f9f9f141733e23b869931fce0bfc5d6a05c
parent1e0d855fdf2cbf9689c0663326a86bec96cf6eb2 (diff)
downloadserenity-728e6dad7306b2aceff46b19491346e49b0bba15.zip
3DFileViewer: Move the example model into the home directory
-rw-r--r--Base/home/anon/Documents/3D Models/teapot.obj (renamed from Base/res/gl/teapot.obj)0
-rw-r--r--Userland/Applications/3DFileViewer/main.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/Base/res/gl/teapot.obj b/Base/home/anon/Documents/3D Models/teapot.obj
index 1fabb3d749..1fabb3d749 100644
--- a/Base/res/gl/teapot.obj
+++ b/Base/home/anon/Documents/3D Models/teapot.obj
diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp
index b06bb91b8c..93c8c616d8 100644
--- a/Userland/Applications/3DFileViewer/main.cpp
+++ b/Userland/Applications/3DFileViewer/main.cpp
@@ -61,7 +61,7 @@ private:
glEndList();
// Load the teapot
- m_mesh = m_mesh_loader->load("/res/gl/teapot.obj");
+ m_mesh = m_mesh_loader->load("/home/anon/Documents/3D Models/teapot.obj");
dbgln("3DFileViewer: teapot mesh has {} triangles.", m_mesh->triangle_count());
}