summaryrefslogtreecommitdiff
path: root/assets/models/obj/cube
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-11 15:35:40 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-11 15:35:40 +1100
commit1c6ec0b7b8e437a003137428636149132d998357 (patch)
treeada9de786fa292cb622e66d9491834179307f392 /assets/models/obj/cube
parent8019f49a4b0d657f882c148ae6582da78a7d2262 (diff)
added a path_parent function to get path of a file
Now we can load .mtl files without hardcoding the full path from top-level like before. that was a hack!
Diffstat (limited to 'assets/models/obj/cube')
-rw-r--r--assets/models/obj/cube/cube.obj2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/models/obj/cube/cube.obj b/assets/models/obj/cube/cube.obj
index 430e5da..d2224e5 100644
--- a/assets/models/obj/cube/cube.obj
+++ b/assets/models/obj/cube/cube.obj
@@ -1,7 +1,7 @@
# cube.obj
#
-mtllib models/obj/cube/cube.mtl
+mtllib cube.mtl
o cube
v -0.500000 -0.500000 0.500000