dlangui v0.10.2 (2022-12-17T17:39:40Z)
Home
Dub
Repo
vec2.opBinary
dlangui
core
math3d
vec2
subtract value from all components of vector
vec2
opBinary
(float v)
vec2
opBinary
(float v)
vec2
opBinary
(float v)
vec2
opBinary
(float v)
vec2
opBinary
(vec2 v)
vec2
opBinary
(vec2 v)
struct
vec2
const
vec2
opBinary
(
string
op
: "-"
)
(
const
vec2
v
)
float
opBinary
(vec3 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