istereo2

diff src/ios/viewctl.m @ 4:d4fed8aac9a6

fixed all sideways crap in the effect code fixed fov on all orientations fixed inverted tangent vector in bump mapped version
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 21 Sep 2015 21:12:36 +0300
parents dc735bdeeb8a
children 6a39b8912752
line diff
     1.1 --- a/src/ios/viewctl.m	Mon Sep 21 07:40:34 2015 +0300
     1.2 +++ b/src/ios/viewctl.m	Mon Sep 21 21:12:36 2015 +0300
     1.3 @@ -81,6 +81,17 @@
     1.4      return YES;
     1.5  }
     1.6  
     1.7 +- (BOOL)shouldAutorotate
     1.8 +{
     1.9 +	return YES;
    1.10 +}
    1.11 +
    1.12 +- (UIInterfaceOrientationMask)supportedInterfaceOrientations
    1.13 +{
    1.14 +	return UIInterfaceOrientationMaskLandscape;
    1.15 +	//return UIInterfaceOrientationMaskAll;
    1.16 +}
    1.17 +
    1.18  - (void)create_ad
    1.19  {
    1.20  	ad = [[ADBannerView alloc] initWithAdType: ADAdTypeBanner];