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
|
@ -14,7 +14,7 @@ texture = rl.LoadTextureFromImage(image)
|
|||
mesh = rl.GenMeshHeightmap(image, [16, 8, 16])
|
||||
model = rl.LoadModelFromMesh(mesh)
|
||||
print(model.materials) # SHOULD BE A pointer to a 'struct Material' but some is NULL pointer to 'Material' ?
|
||||
model.materials.maps[rl.MATERIAL_MAP_DIFFUSE].texture = texture
|
||||
model.materials.maps[rl.MATERIAL_MAP_ALBEDO].texture = texture
|
||||
|
||||
rl.UnloadImage(image)
|
||||
rl.SetCameraMode(camera[0], rl.CAMERA_ORBITAL)
|
||||
|
|
Reference in a new issue