Added model loading

This commit is contained in:
Robert 2021-01-30 04:02:15 +01:00
parent 707687b682
commit 8c62929e3c
24 changed files with 199852 additions and 23 deletions

View file

@ -99,8 +99,8 @@ int main(int argc, char** argv)
}
// Create a texture
oglu::Texture crate = oglu::MakeTexture("assets/crate.jpg");
oglu::Texture opengl = oglu::MakeTexture("assets/opengl.png");
oglu::Texture crate = oglu::MakeTexture("assets/crate.jpg", "crate");
oglu::Texture opengl = oglu::MakeTexture("assets/opengl.png", "opengl");
oglu::Camera camera;