sbylib ~master (2020-02-29T08:12:18Z)
Dub
Repo
length
sbylib
math
vector
Returns length of the given vector.
T
length
(
T
uint
U
)
(
const
Vector
!(
T
,
U
)
v
)
if
(
__traits(
isFloating
,
T
)
)
Parameters
v
Vector
!(
T
,
U
)
target vector
Return Value
Type:
T
length of the given vector
Meta
Source
See Implementation
sbylib
math
vector
aliases
ivec2
ivec3
ivec4
vec2
vec3
vec4
enums
isVector
functions
approxEqual
computeSignedVolume
computeUnSignedArea
cross
dot
length
lengthSq
max
min
mix
mostDispersionBasis
normalize
ortho
reduceV
safeNormalize
structs
Vector
Returns length of the given vector.