inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
distance
inmath
linalg
Calculates the distance between two vectors.
@
safe
pure nothrow
T.vt
distance
(
T
)
(
const
T
veca
,
const
T
vecb
)
if
(
isVector
!
T
)
Meta
Source
See Implementation
inmath
linalg
aliases
mat2
mat3
mat34
mat4
quat
rect
rectd
vec2
vec2d
vec2i
vec2u
vec3
vec3d
vec3i
vec3u
vec4
vec4d
vec4i
vec4u
functions
cross
distance
dot
reflect
structs
Matrix
Quaternion
Rect
Vector
Calculates the distance between two vectors.