aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-06-11 10:56:20 +0200
committerraysan5 <raysan5@gmail.com>2016-06-11 10:56:20 +0200
commit3e8427799c27b1e0bca22759ae434e23b06547ae (patch)
tree45a587e9ceb3d4b6685386e6301e40b79dc2a10b /src
parent296378299259c86af58d5bda5d4654680ef87f08 (diff)
downloadraylib-3e8427799c27b1e0bca22759ae434e23b06547ae.tar.gz
raylib-3e8427799c27b1e0bca22759ae434e23b06547ae.zip
Corrected bug on cubemap generation
Diffstat (limited to 'src')
-rw-r--r--src/models.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c
index 15565c98..8d9219e3 100644
--- a/src/models.c
+++ b/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)