doml v0.0.2 (2022-08-19T22:53:19Z)
Dub
Repo
Vector2d.normalize
vector_2d
Vector2d
Normalize this vector.
@return this
Vector2d
normalize
()
struct
Vector2d
ref return
Vector2d
normalize
(
)
Vector2d
normalize
(Vector2d dest)
Vector2d
normalize
(double length)
Vector2d
normalize
(double length, Vector2d dest)
Meta
Source
See Implementation
vector_2d
Vector2d
constructors
this
functions
absolute
add
angle
ceil
distance
distanceSquared
div
dot
equals
floor
fma
get
hashCode
isFinite
length
lengthSquared
lerp
max
maxComponent
min
minComponent
mul
mulDirection
mulPosition
mulTranspose
negate
normalize
perpendicular
round
set
setComponent
sub
zero
variables
x
y
Normalize this vector.
@return this