dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Vector2.opBinary
Dgame
Math
Vector2
Vector2
Supported operation: +, -, *, / and %
Vector2
opBinary
(Vector2 vec)
struct
Vector2
(T)
const pure
Vector2
opBinary
(
string
op
)
(
ref
const
Vector2
vec
)
if
(
isNumeric
!
T
)
Vector2
opBinary
(T number)
Meta
Source
See Implementation
Dgame
Math
Vector2
Vector2
aliases
dot
constructors
this
functions
angle
asArray
diff
isEmpty
move
negate
normalize
opBinary
opEquals
opNeg
opOpAssign
scalar
set
properties
length
variables
x
y
Supported operation: +, -, *, / and %