dlangui v0.9.187 (2022-04-16T10:49:25Z)
Home
Dub
Repo
vec2.sub
dlangui
core
math3d
vec2
subtract value from all components of vector
vec2
sub
(float v)
struct
vec2
ref return
vec2
sub
(
float
v
)
vec2
sub
(vec2 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
subtract value from all components of vector