From 1c6ec0b7b8e437a003137428636149132d998357 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:35:40 +1100 Subject: 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! --- assets/models/obj/cube/cube.obj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/models/obj/cube') 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 -- cgit v1.2.3-70-g09d2