Removed function SetModelTexture()
It's more educational to go through new material system, so, I decide to remove this function to avoid students confusion...
This commit is contained in:
parent
b358402cb3
commit
5f7ac64c44
9 changed files with 11 additions and 18 deletions
|
@ -29,7 +29,7 @@ int main()
|
|||
|
||||
// NOTE: By default each cube is mapped to one part of texture atlas
|
||||
Texture2D texture = LoadTexture("resources/cubicmap_atlas.png"); // Load map texture
|
||||
SetModelTexture(&map, texture); // Bind texture to map model
|
||||
map.material.texDiffuse = texture; // Set map diffuse texture
|
||||
|
||||
Vector3 mapPosition = { -16.0f, 0.0f, -8.0f }; // Set model position
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue