OpenGLでのフレームレート iPhone
"EAGLView.m"のinitWithCoderメソッド内animationFrameInterval = 1
OpenGLでiPhoneの画面シェイクしたい
・ES1Renderer.hint offSet;
・ES1Renderer.m
(void) renderメソッド
glViewport(12 * cos(offSet), 0, backingWidth, backingHeight); offSet++; if (offSet > 360) { offSet = 0; }
こんな感じ。
アプリをSDカードにインストールできるように(Android)
http://techbooster.jpn.org/andriod/application/228/Objective-Cの真偽値
http://d.hatena.ne.jp/thata/20091123/1258950667Bool vs bool
http://stackoverflow.com/questions/541289/objective-c-bool-vs-bool
高校数学復習 Pythoh
弧度法から度数法への変換度数法から弧度法への変換
をすると相互変換できるかどうか実験
>>> import math >>> a=math.radians(90) >>> b=math.radians(270) >>> a 1.5707963267948966 >>> b 4.7123889803846897 >>> math.degrees(a) 90.0 >>> math.degrees(b) 270.0 >>> a*180/math.pi 90.0 >>> b*180/math.pi 270.0