Implemented visualization of octrees for debugging occlusion culling algorithms.
Corrected project settings to allow objpack to compile again. --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4087
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#import <KREngine_osx/KRVector2.h>
|
||||
#import <KREngine_osx/KRVector3.h>
|
||||
#import <KREngine_osx/KRMesh.h>
|
||||
#import <KREngine_osx/KRContext.h>
|
||||
|
||||
KROBJPacker::KROBJPacker() {
|
||||
|
||||
@@ -56,7 +57,9 @@ void KROBJPacker::pack(const char *szPath) {
|
||||
std::cout << "Reading " << szPath << " ...\n";
|
||||
std::string base_path = KRResource::GetFilePath(szPath);
|
||||
|
||||
vector<KRResource *> resources = KRResource::Load(szPath);
|
||||
KRContext context = KRContext();
|
||||
|
||||
vector<KRResource *> resources = KRResource::Load(context, szPath);
|
||||
|
||||
try {
|
||||
vector<KRResource *>::iterator resource_itr = resources.begin();
|
||||
|
||||
Reference in New Issue
Block a user