Updated KRObjView to match Kraken engine changes
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40218
This commit is contained in:
@@ -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"];
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
}
|
||||
|
||||
// Initialize KREngine
|
||||
_engine = [[KREngine alloc] initForWidth: backingWidth Height: backingHeight];
|
||||
_engine = [[KREngine alloc] init];
|
||||
[self loadObjects];
|
||||
}
|
||||
return self;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
|
||||
@implementation KRObjViewViewController
|
||||
|
||||
@synthesize overlayLayer;
|
||||
@synthesize glView;
|
||||
|
||||
// Handle Touch Events
|
||||
|
||||
Reference in New Issue
Block a user