dlangui v0.10.7 (2024-03-11T09:32:36Z)
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