示例#1
0
 public double GetAngle(My_Vector b)
 {
     return(Math.Acos((X * b.X + Y * b.Y + Z * b.Z) / (GetNorm() * b.GetNorm())));
 }
示例#2
0
 public static My_Vector Norming(this My_Vector a)
 {
     return(a * (1.0 / a.GetNorm()));
 }