コード例 #1
0
 public Matrix4D GetTranslationMatrix()
 {
     /*var temp = new Matrix4D(
      *      800/2, 0, 0, -Pos.X,
      *      0, 600/2, 0, -Pos.Y,
      *      0, 0, 1, -Pos.Z,
      *      0, 0, 0, 1
      *  );*/
     return(Matrix4D.GetTranslation(Pos.Clone().Reverse()));
 }