iPhone

マトリクス変換のメモ

OpenGLのマトリクス変換をメモめもマトリクス変換の流れ 1.GL_MODELVIEWモードにする 2.マトリクスを初期化する 3.これから描画しようとするポリゴンに対するマトリクス変換を呼び出す 4.ポリゴンを描画するポリゴン描画前にマトリクス変換するのが…

Objective-C++備忘

iPhoneアプリでObjective-C++を有効にするためには、 「.m」ファイルを「.mm」とする必要がある。

iPhoneアプリでステータスバーを消す方法

AppDelegate.mの (void)applicationDidFinishLaunching:(UIApplication *)application { 内に下記を追加。 [UIApplicationsharedApplication].statusBarHidden = YES;

iPhoneで初期表示を横向きにする方法

ここから// Override to allow orientations other than the default portrait orientation. (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOr…