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:
@@ -107,7 +107,7 @@
|
||||
E404C88F136B8E2F00B6C99B /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0430;
|
||||
LastUpgradeCheck = 0440;
|
||||
ORGANIZATIONNAME = "Kearwood Software";
|
||||
};
|
||||
buildConfigurationList = E404C892136B8E2F00B6C99B /* Build configuration list for PBXProject "objpack" */;
|
||||
|
||||
@@ -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