gl3n ~master (2021-06-11T06:55:56Z)
Home
Dub
Repo
distance
gl3n
linalg
Calculates the distance between two vectors.
@
safe
pure nothrow
T.vt
distance
(
T
)
(
const
T
veca
,
const
T
vecb
)
if
(
is_vector
!
T
)
Meta
Source
See Implementation
gl3n
linalg
aliases
mat2
mat3
mat34
mat4
quat
vec2
vec2d
vec2i
vec3
vec3d
vec3i
vec4
vec4d
vec4i
functions
cross
distance
dot
reflect
structs
Matrix
Quaternion
Vector
Calculates the distance between two vectors.