Declaration
func Distance(valueA Vector3, valueB Vector3) float
go
Parameters
Input
Return
| Type | Description |
|---|---|
| Float | After subtracting two vectors, the modulus of the resulting vector |
Calculate the Euclidean distance between two 3D vectors
func Distance(valueA Vector3, valueB Vector3) float
go
| Type | Description |
|---|---|
| Float | After subtracting two vectors, the modulus of the resulting vector |