Add files via upload
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "Lightmap.h"
|
||||
|
||||
Lightmap::Lightmap(){
|
||||
map = new unsigned short[CHUNK_VOL];
|
||||
for (unsigned int i = 0; i < CHUNK_VOL; i++){
|
||||
map[i] = 0x0000;
|
||||
}
|
||||
}
|
||||
|
||||
Lightmap::~Lightmap(){
|
||||
delete[] map;
|
||||
}
|
||||
Reference in New Issue
Block a user