コード例 #1
0
 return(Math.Sqrt(Math.Pow(b.Item1 - a.Item1, 2) + Math.Pow(b.Item2 - a.Item2, 2)));
コード例 #2
0
 public Matrix3((float, float, float) a, (float, float, float) b, (float, float, float) c) : this(new Vector3(a.Item1, a.Item2, a.Item3), new Vector3(b.Item1, b.Item2, b.Item3), new Vector3(c.Item1, c.Item2, c.Item3))