diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/models/models_cubicmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_cubicmap.c b/examples/models/models_cubicmap.c index ceef6378..8abc7d48 100644 --- a/examples/models/models_cubicmap.c +++ b/examples/models/models_cubicmap.c @@ -26,7 +26,7 @@ int main() Image image = LoadImage("resources/cubicmap.png"); // Load cubicmap image (RAM) Texture2D cubicmap = LoadTextureFromImage(image); // Convert image to texture to display (VRAM) - Mesh mesh = GenMeshCubicmap(image, VectorOne()); + Mesh mesh = GenMeshCubicmap(image, (Vector3){ 1.0f, 1.0f, 1.0f }); Model model = LoadModelFromMesh(mesh, false); // NOTE: By default each cube is mapped to one part of texture atlas |
