diff options
| author | raysan5 <[email protected]> | 2017-07-19 10:09:34 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-07-19 10:09:34 +0200 |
| commit | d368403a131522a53c0dedd1ae4f24301898e96e (patch) | |
| tree | a2b92ba988d4d3c6d7cc8d489b94632b449d578e /examples/models/models_cubicmap.c | |
| parent | 8f569e59b177e879fe350027a706c6f731f86c4a (diff) | |
| download | raylib-d368403a131522a53c0dedd1ae4f24301898e96e.tar.gz raylib-d368403a131522a53c0dedd1ae4f24301898e96e.zip | |
Working on PBR materials, renamed some data
Diffstat (limited to 'examples/models/models_cubicmap.c')
| -rw-r--r-- | examples/models/models_cubicmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_cubicmap.c b/examples/models/models_cubicmap.c index 8abc7d48..177cf890 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[TEXMAP_DIFFUSE].tex = 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 |
