From e893f3629e85ec018955d188916c00c3c07c44c0 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Mon, 17 Jul 2017 12:02:46 +0200 Subject: Corrected some issues --- examples/models/models_cubicmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 -- cgit v1.2.3