- 853 名前:デフォルトの名無しさん mailto:sage [2005/12/24(土) 02:59:51 ]
- DirectXの行列演算でも40倍ぐらい違った。これじゃゲームのデバッグができん。
DateTime dt = DateTime.Now; Vector3 v = new Vector3(1f, 2f, 3f); Matrix m = Matrix.RotationYawPitchRoll(1,1,1); for (int x = 0; x < 1024*1024; x++) v = Vector3.TransformCoordinate(v, m); TimeSpan ts = DateTime.Now - dt; Console.WriteLine(ts.ToString()); Console.Read();
|

|