Jump to navigation Jump to search
Server and Client
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.
|1)||Vec3||vector||The second 3D vector.|
|float||A floating-point number representing the squared distance of the two 3D vectors.|
There aren't any notes for this method.
There aren't any examples for this method.
There isn't any compatibility information for this method.