gfx ~meson (2022-03-26T21:27:26.8342465)
Dub
Repo
squaredMag
gfx
math
vec
Compute the squared magnitude of a vector.
template
squaredMag
(T, size_t N)
pure @
safe
nothrow @
nogc
pure nothrow @
nogc
@
safe
T
squaredMag
(
in
Vec
!(
T
,
N
)
v
)
Members
Functions
squaredMag
T
squaredMag
(Vec!(T, N) v)
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 squared magnitude of a vector.