Corrected bug on cubemap generation
This commit is contained in:
parent
2963782992
commit
3e8427799c
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ Model LoadCubicmap(Image cubicmap)
|
||||||
{
|
{
|
||||||
Model model = { 0 };
|
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)
|
rlglLoadMesh(&model.mesh, false); // Upload vertex data to GPU (static model)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue