dlangui v0.10.0 (2022-11-08T19:06:33Z)
Home
Dub
Repo
vec2.clear
dlangui
core
math3d
vec2
fill all components of vector with specified value
struct
vec2
ref return
vec2
clear
(
float
v
)
Meta
Source
See Implementation
dlangui
core
math3d
vec2
aliases
length
u
v
constructors
this
functions
add
clear
crossProduct
div
dot
mul
normalize
opAssign
opBinary
opOpAssign
opUnary
rotated90ccw
rotated90cw
sub
properties
magnitude
magnitudeSquared
normalized
unions
__anonymous
fill all components of vector with specified value