On this page

Function squaredDistance

  • Calculates the squared euclidian distance between two vec3's

    Parameters

    Returns number

    squared distance between a and b

Was this helpful?
SDK JS
Reference
squaredDistance