aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-09-02 20:33:58 +0200
committerraysan5 <raysan5@gmail.com>2015-09-02 20:33:58 +0200
commit35f1ebf9f388542ec4618c22edd91db0e46f7efc (patch)
tree57203892fc1a8bc993ce73dcb21302658419cd58
parentb1a90a7f915e7779aad975a70b503788b0a1b228 (diff)
downloadraylib-35f1ebf9f388542ec4618c22edd91db0e46f7efc.tar.gz
raylib-35f1ebf9f388542ec4618c22edd91db0e46f7efc.zip
Corrected model filenames
-rw-r--r--examples/models_obj_loading.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/models_obj_loading.c b/examples/models_obj_loading.c
index f508e7ba..dc302f99 100644
--- a/examples/models_obj_loading.c
+++ b/examples/models_obj_loading.c
@@ -23,8 +23,8 @@ int main()
// Define the camera to look into our 3d world
Camera camera = {{ 3.0, 3.0, 3.0 }, { 0.0, 1.5, 0.0 }, { 0.0, 1.0, 0.0 }};
- Model dwarf = LoadModel("resources/model/_dwarf.obj"); // Load OBJ model
- Texture2D texture = LoadTexture("resources/model/_dwarf_diffuse.png"); // Load model texture
+ Model dwarf = LoadModel("resources/model/dwarf.obj"); // Load OBJ model
+ Texture2D texture = LoadTexture("resources/model/dwarf_diffuse.png"); // Load model texture
SetModelTexture(&dwarf, texture); // Bind texture to model
Vector3 position = { 0.0, 0.0, 0.0 }; // Set model position