gfx ~master (2022-03-26T21:17:36.9160143)
Dub
Repo
dot
gfx
math
vec
Compute the dot product of two vectors.
template
dot
(T, size_t N)
pure @
safe
nothrow @
nogc
pure nothrow @
nogc
@
safe
T
dot
(
in
Vec
!(
T
,
N
)
v1
,
in
Vec
!(
T
,
N
)
v2
)
Members
Functions
dot
T
dot
(Vec!(T, N) v1, Vec!(T, N) v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
gfx
math
vec
aliases
DVec
DVec2
DVec3
DVec4
FVec
FVec2
FVec3
FVec4
IVec
IVec2
IVec3
IVec4
Vec2
Vec3
Vec4
dvec
fvec
ivec
vec2
vec3
vec4
enums
isVec2
isVec3
isVec4
numComps
functions
compTup
vec
structs
Vec
templates
CompTup
cross
dot
isVec
magnitude
normalize
squaredMag
Compute the dot product of two vectors.