update examples

This commit is contained in:
richard 2021-08-28 13:07:02 +01:00
parent 64e5995633
commit aa5659f272
10 changed files with 6 additions and 8 deletions

View file

@ -30,7 +30,7 @@ model = LoadModelFromMesh(mesh)
# NOTE: By default each cube is mapped to one part of texture atlas
texture = LoadTexture(b"resources/cubicmap_atlas.png") # Load map texture
model.materials[0].maps[MAP_DIFFUSE].texture = texture # Set map diffuse texture
model.materials[0].maps[MATERIAL_MAP_DIFFUSE ].texture = texture # Set map diffuse texture
mapPosition = [ -16.0, 0.0, -8.0 ] # Set model position