summaryrefslogtreecommitdiffhomepage
path: root/examples/models
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2017-07-25 18:09:58 +0200
committerraysan5 <[email protected]>2017-07-25 18:10:07 +0200
commitc764b3d03eb85ea303192a48f36797ca0cd77067 (patch)
treee8ba8535fcee3effc013e2ed7921b0624559f048 /examples/models
parent1fcca40db59c4924e3197643518c90104e51d142 (diff)
downloadraylib-c764b3d03eb85ea303192a48f36797ca0cd77067.tar.gz
raylib-c764b3d03eb85ea303192a48f36797ca0cd77067.zip
Some tweaks
Diffstat (limited to 'examples/models')
-rw-r--r--examples/models/models_cubicmap.c2
-rw-r--r--examples/models/models_material_pbr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/models/models_cubicmap.c b/examples/models/models_cubicmap.c
index 268d480a..a8faa7c0 100644
--- a/examples/models/models_cubicmap.c
+++ b/examples/models/models_cubicmap.c
@@ -31,7 +31,7 @@ int main()
// NOTE: By default each cube is mapped to one part of texture atlas
Texture2D texture = LoadTexture("resources/cubicmap_atlas.png"); // Load map texture
- model.material.maps[MAP_DIFFUSE].texture = texture; // Set map diffuse texture
+ model.material.maps[MAP_DIFFUSE].texture = texture; // Set map diffuse texture
Vector3 mapPosition = { -16.0f, 0.0f, -8.0f }; // Set model position
diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c
index d55aa773..1f069468 100644
--- a/examples/models/models_material_pbr.c
+++ b/examples/models/models_material_pbr.c
@@ -71,7 +71,7 @@ int main()
Begin3dMode(camera);
- DrawModel(model, VectorZero(), 1.0f, WHITE);
+ DrawModel(model, Vector3Zero(), 1.0f, WHITE);
DrawGrid(10, 1.0f);