Exemplo n.º 1
0
 public float Dot(Vec4 v) => X * v.X + Y * v.Y + Z * v.Z + W * v.W;
Exemplo n.º 2
0
 public float Angle(Vec4 v) => (float)Math.Acos(Dot(v) / (Length * v.Length));