Browse Source

Corrected bug on cubemap generation

raysan5 9 years ago
parent
commit
3e8427799c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/models.c

+ 1 - 1
src/models.c

@@ -739,7 +739,7 @@ Model LoadCubicmap(Image cubicmap)
 {
     Model model = { 0 };
     
-    model.mesh = GenMeshCubicmap(cubicmap, (Vector3){ 1.0, 1.0, 1.5f });
+    model.mesh = GenMeshCubicmap(cubicmap, (Vector3){ 1.0f, 1.5f, 1.0f });
     
     rlglLoadMesh(&model.mesh, false);  // Upload vertex data to GPU (static model)