1
林正好OpenGL ES的原點iPhone有什麼想用一個項目,通過定義其支持的方向接口:我建我以爲是UIInterfaceOrientationPortrait默認下我的程序下設備方向
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
//making sure that the tour is displayed in landscape
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
。現在的問題是,似乎OpenGL的起源是移動角落。因此,我的程序取決於在縱向模式下的左上角的左上角,這是所有應用程序的標準,但現在我認爲起源已經成爲右上角。
這是真的嗎?