浏览代码

Corrected bug on cubemap generation

raysan5 9 年之前
父节点
当前提交
3e8427799c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)