mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-01 11:49:17 -05:00
Corrected bug on cubemap generation
This commit is contained in:
@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user