mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-22 22:35:12 +00:00
Iressource holds again a unload method
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user