remove depreciated stuff, tidy build a bit for 4.0
This commit is contained in:
parent
c818fae902
commit
775d2da32d
17 changed files with 63 additions and 201 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[MATERIAL_MAP_DIFFUSE].texture = texture
|
||||
model.materials.maps[MATERIAL_MAP_ALBEDO].texture = texture
|
||||
|
||||
UnloadImage(image)
|
||||
SetCameraMode(camera[0], CAMERA_ORBITAL)
|
||||
|
|
Reference in a new issue