Corrected bug on cubemap generation
This commit is contained in:
parent
2963782992
commit
3e8427799c
|
|
@ -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…
Reference in New Issue
Block a user