update to raylib 3.7

This commit is contained in:
richard 2021-06-12 21:51:27 +01:00
parent 677dfc0de0
commit 124f0c77a9
6 changed files with 283 additions and 673 deletions

View file

@ -13,7 +13,7 @@ image = LoadImage(b"examples/models/resources/heightmap.png")
texture = LoadTextureFromImage(image)
mesh = GenMeshHeightmap(image, (16, 8, 16))
model = LoadModelFromMesh(mesh)
model.materials.maps[MAP_DIFFUSE].texture = texture
model.materials.maps[MATERIAL_MAP_DIFFUSE].texture = texture
UnloadImage(image)
SetCameraMode(camera[0], CAMERA_ORBITAL)