Add Textures
This commit is contained in:
parent
78dc21fee8
commit
94a63390ef
19 changed files with 8232 additions and 29 deletions
11
src/image.cpp
Normal file
11
src/image.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "renderer.h"
|
||||
|
||||
Image::Image(unsigned char* data,int width,int height){
|
||||
this->data = data;
|
||||
this->width = width;
|
||||
this->height = height;
|
||||
}
|
||||
|
||||
Image::~Image(){
|
||||
delete this->data;
|
||||
}
|
Reference in a new issue