Iressource holds again a unload method

This commit is contained in:
arthur.jamet
2021-05-22 14:13:31 +02:00
parent 66c33b403c
commit d9c3772b9e
8 changed files with 263054 additions and 5 deletions

View File

@@ -31,9 +31,9 @@ int main()
RAY::Vector3(0.0f, 1.0f, 0.0f),
45.0f, CAMERA_PERSPECTIVE
);
RAY::Model model("guy.iqm");
RAY::Texture texture("guytex.png");
RAY::ModelAnimations animations("guy.iqm");
RAY::Model model("ressources/guy.iqm");
RAY::Texture texture("ressources/guytex.png");
RAY::ModelAnimations animations("ressources/guy.iqm");
RAY::Drawables::Drawables3D::Grid grid(10, 1.0f);
RAY::Drawables::Drawables2D::Text instructionText("PRESS SPACE to PLAY MODEL ANIMATION", 10, {10, 20} , MAROON);
model.setTextureToMaterial(MAP_DIFFUSE, texture);