dlangui v0.10.6 (2024-03-04T10:48:08Z)
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