From 7763ccd8ad007c8854bcdfb64213c357e40a3085 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 18 Oct 2021 23:17:37 +0200 Subject: Resync .obj models! gitignore was ignoring them! --- examples/models/models_loading.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/models/models_loading.c') diff --git a/examples/models/models_loading.c b/examples/models/models_loading.c index a688a8b8..0c9b702b 100644 --- a/examples/models/models_loading.c +++ b/examples/models/models_loading.c @@ -39,13 +39,13 @@ int main(void) camera.fovy = 45.0f; // Camera field-of-view Y camera.projection = CAMERA_PERSPECTIVE; // Camera mode type - Model model = LoadModel("resources/models/castle.obj"); // Load model - Texture2D texture = LoadTexture("resources/models/castle_diffuse.png"); // Load model texture - model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Set map diffuse texture + Model model = LoadModel("resources/models/obj/castle.obj"); // Load model + Texture2D texture = LoadTexture("resources/models/obj/castle_diffuse.png"); // Load model texture + model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Set map diffuse texture - Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position + Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position - BoundingBox bounds = GetMeshBoundingBox(model.meshes[0]); // Set model bounds + BoundingBox bounds = GetMeshBoundingBox(model.meshes[0]); // Set model bounds // NOTE: bounds are calculated from the original size of the model, // if model is scaled on drawing, bounds must be also scaled -- cgit v1.2.3