Updated KRObjView to match Kraken engine changes

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40218
This commit is contained in:
kearwood
2013-01-13 08:09:45 +00:00
parent 11f6955150
commit 9abc02965f
8 changed files with 57 additions and 12 deletions

View File

@@ -41,9 +41,9 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Add the view controller's view to the window and display.
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
[self.window addSubview:viewController.view];
[self.window makeKeyAndVisible];
// [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
// [self.window addSubview:viewController.view];
// [self.window makeKeyAndVisible];
//[TestFlight takeOff:@"bee30f66de8a537484b210b6ac8fa118_NDA5MTIyMDExLTExLTE0IDE1OjUxOjQwLjA0MzM4MA"];

View File

@@ -78,7 +78,7 @@
}
// Initialize KREngine
_engine = [[KREngine alloc] initForWidth: backingWidth Height: backingHeight];
_engine = [[KREngine alloc] init];
[self loadObjects];
}
return self;

View File

@@ -36,8 +36,6 @@
#import <KRScene.h>
@interface KRObjViewViewController : UIViewController {
CALayer *overlayLayer;
KRObjViewGLView *glView;
@@ -70,7 +68,6 @@
}
@property (nonatomic, retain) IBOutlet CALayer *overlayLayer;
@property (readonly) KRObjViewGLView *glView;
// OpenGL ES 2.0 setup methods

View File

@@ -37,7 +37,6 @@
@implementation KRObjViewViewController
@synthesize overlayLayer;
@synthesize glView;
// Handle Touch Events