gfm ~master (2021-03-12T16:19:32Z)
Home
Dub
Repo
Vector.normalized
gfm
math
vector
Vector
Returns a normalized copy of this Vector
struct
Vector
(T, int N)
nothrow @
nogc
pure const nothrow
static if
(
isFloatingPoint!T
)
Vector
normalized
(
)
Return Value
Type:
Vector
Normalized vector.
Meta
Source
See Implementation
gfm
math
vector
Vector
aliases
fastInverseLength
constructors
this
functions
distanceTo
fastInverseMagnitude
fastNormalize
fastNormalized
getOrthogonalVector
inverseMagnitude
magnitude
normalize
normalized
opAssign
opBinary
opBinaryRight
opCast
opDollar
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opUnary
ptr
squaredDistanceTo
squaredMagnitude
toHash
toString
properties
opDispatch
unions
__anonymous
Returns a normalized copy of this Vector