image have been enhance, so it can now be drawn on a window

This commit is contained in:
arthur.jamet
2021-05-31 21:59:54 +02:00
parent f8ca87cd9d
commit 39deddcc91
15 changed files with 121 additions and 45 deletions

View File

@@ -21,6 +21,12 @@ namespace RAY {
{
}
Texture::Texture(const Image &image):
_texture(LoadTextureFromImage(image)),
_resourcePath("IMAGE")
{
}
Texture &Texture::operator=(const Texture &other)
{