update to raylib 3.7
This commit is contained in:
parent
677dfc0de0
commit
124f0c77a9
6 changed files with 283 additions and 673 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue