iPhone
OpenGLのマトリクス変換をメモめもマトリクス変換の流れ 1.GL_MODELVIEWモードにする 2.マトリクスを初期化する 3.これから描画しようとするポリゴンに対するマトリクス変換を呼び出す 4.ポリゴンを描画するポリゴン描画前にマトリクス変換するのが…
iPhoneアプリでObjective-C++を有効にするためには、 「.m」ファイルを「.mm」とする必要がある。
AppDelegate.mの (void)applicationDidFinishLaunching:(UIApplication *)application { 内に下記を追加。 [UIApplicationsharedApplication].statusBarHidden = YES;
ここから// Override to allow orientations other than the default portrait orientation. (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOr…