DistanceTo returns the distance of this point to other.
(other *Vector3)
| 367 | |
| 368 | // DistanceTo returns the distance of this point to other. |
| 369 | func (v *Vector3) DistanceTo(other *Vector3) float32 { |
| 370 | |
| 371 | return Sqrt(v.DistanceToSquared(other)) |
| 372 | } |
| 373 | |
| 374 | // DistanceToSquared returns the distance squared of this point to other. |
| 375 | func (v *Vector3) DistanceToSquared(other *Vector3) float32 { |
no test coverage detected