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:
raysan5 2016-06-24 19:49:36 +02:00
parent b358402cb3
commit 5f7ac64c44
9 changed files with 11 additions and 18 deletions

View file

@ -25,7 +25,7 @@ int main()
Model dwarf = LoadModel("resources/model/dwarf.obj"); // Load OBJ model
Texture2D texture = LoadTexture("resources/model/dwarf_diffuse.png"); // Load model texture
SetModelTexture(&dwarf, texture); // Bind texture to model
dwarf.material.texDiffuse = texture; // Set dwarf model diffuse texture
Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position
SetTargetFPS(60); // Set our game to run at 60 frames-per-second