vec3.squaredDistance

Revision as of 16:17, 14 June 2022 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

float vec3.squaredDistance(Vec3 vector)

The vec3.squaredDistance method is used to fetch the squared distance of the two 3D vectors.

Parameters

1) Vec3 vector The second 3D vector.

Return

float A floating-point number representing the squared distance of the two 3D vectors.

Types

Shared Vec3

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.