dlsl ~master (2022-04-13T07:10:34.3128445)
Dub
Repo
lengthSquared
dlsl
vector
Vector squared length floating point valueType, essentially dot( vec, vec );
pure nothrow @
nogc
@
safe
auto
lengthSquared
(
V
)
(
in
V
v
)
if
(
isVector
!
V
)
Meta
Source
See Implementation
dlsl
vector
aliases
dvec2
dvec3
dvec4
isInfinity
isNaN
isValid
ivec2
ivec2b
ivec2s
ivec3
ivec3b
ivec3s
ivec4
ivec4b
ivec4s
uvec2
uvec2b
uvec2s
uvec3
uvec3b
uvec3s
uvec4
uvec4b
uvec4s
vec2
vec3
vec4
functions
abs
almostEqual
cross
distance
dot
faceforward
isinf
isnan
isvalid
length
lengthSquared
normalize
reflect
refract
structs
Vector
templates
isVector
Vector squared length floating point valueType, essentially dot( vec, vec );