Pārlūkot izejas kodu

Merge branch 'master' of https://github.com/raysan5/raylib

pull/951/head
Ray pirms 5 gadiem
vecāks
revīzija
049a1c8f6d
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      src/models.c

+ 1
- 0
src/models.c Parādīt failu

@ -1769,6 +1769,7 @@ Mesh GenMeshHeightmap(Image heightmap, Vector3 size)
#define GRAY_VALUE(c) ((c.r+c.g+c.b)/3) #define GRAY_VALUE(c) ((c.r+c.g+c.b)/3)
Mesh mesh = { 0 }; Mesh mesh = { 0 };
mesh.vboId = (unsigned int *)RL_CALLOC(MAX_MESH_VBO*sizeof(unsigned int), 1);
int mapX = heightmap.width; int mapX = heightmap.width;
int mapZ = heightmap.height; int mapZ = heightmap.height;

Notiek ielāde…
Atcelt
Saglabāt