diff options
| author | raysan5 <[email protected]> | 2017-07-21 09:34:09 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-07-21 09:34:09 +0200 |
| commit | 2679c4ae9b2fefdb0c150a7cd576d5d3297b027b (patch) | |
| tree | 31f026ec3d4a0f3a49ecddaa5d9431b61b56de7f /examples/models/models_cubicmap.c | |
| parent | 63fd96354e7ceffcdf292a1aac6d564dc694377c (diff) | |
| download | raylib-2679c4ae9b2fefdb0c150a7cd576d5d3297b027b.tar.gz raylib-2679c4ae9b2fefdb0c150a7cd576d5d3297b027b.zip | |
Review mesh loading and textures generation
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 177cf890..268d480a 100644 --- a/examples/models/models_cubicmap.c +++ b/examples/models/models_cubicmap.c @@ -27,7 +27,7 @@ int main() Texture2D cubicmap = LoadTextureFromImage(image); // Convert image to texture to display (VRAM) Mesh mesh = GenMeshCubicmap(image, (Vector3){ 1.0f, 1.0f, 1.0f }); - Model model = LoadModelFromMesh(mesh, false); + Model model = LoadModelFromMesh(mesh); // NOTE: By default each cube is mapped to one part of texture atlas Texture2D texture = LoadTexture("resources/cubicmap_atlas.png"); // Load map texture |
