ios stuff
This commit is contained in:
parent
c96eab18dd
commit
0fbbb3d106
5
ios/doublehitballs/CustomGLKView.mm
Normal file
5
ios/doublehitballs/CustomGLKView.mm
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#import "CustomGLKView.h"
|
||||||
|
|
||||||
|
@implementation CustomGLKView
|
||||||
|
|
||||||
|
@end
|
20
ios/doublehitballs/ViewController.mm
Normal file
20
ios/doublehitballs/ViewController.mm
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#import "ViewController.h"
|
||||||
|
#import "ios_api.h"
|
||||||
|
|
||||||
|
|
||||||
|
@implementation ViewController
|
||||||
|
|
||||||
|
|
||||||
|
- (void) appInitCaller
|
||||||
|
{
|
||||||
|
CustomAppInit();
|
||||||
|
}
|
||||||
|
|
||||||
|
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
||||||
|
{
|
||||||
|
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@end
|
Loading…
Reference in New Issue
Block a user