11 lines
No EOL
198 B
C++
11 lines
No EOL
198 B
C++
#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;
|
|
} |