Ejemplo n.º 1
0
 public float Length()
 {
     return((float)Math.Sqrt(Vector3f.Dot(this, this)));
 }
Ejemplo n.º 2
0
        public static float DistanceSquared(Vector3f a, Vector3f b)
        {
            Vector3f c = b - a;

            return(Vector3f.Dot(c, c));
        }