vec3.distance: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page Vec3.distance to vec3.distance) |
No edit summary |
||
| Line 4: | Line 4: | ||
|class = Vec3 | |class = Vec3 | ||
|name = distance | |name = distance | ||
|parameters = Vec3 | |parameters = Vec3 vector | ||
|parameter1 = | |parameter1 = Vec3 vector The second 3D vector. | ||
|returnTypes = float | |returnTypes = float | ||
|usage = fetch the distance of the two 3D vectors | |usage = fetch the distance of the two 3D vectors | ||
Revision as of 16:16, 14 June 2022
Method Server and Client
![]()
Online and Offline
Available since Server 1.0.0, Client 1.0.0
float vec3.distance(Vec3 vector)
The vec3.distance method is used to fetch the distance of the two 3D vectors.
Parameters
| 1) | Vec3 | vector | The second 3D vector. |
Return
| float | A floating-point number representing the 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.