dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Vector2.diff
Dgame
Math
Vector2
Vector2
Calculate the diff between two vectors.
struct
Vector2
(T)
@
nogc
float
diff
const pure nothrow
(
const
Vector2
!(
T
)
vec
)
if
(
isNumeric
!(
T
)
)
Meta
Source
See Implementation
Dgame
Math
Vector2
Vector2
aliases
dot
constructors
this
functions
angle
diff
isEmpty
normalize
opBinary
opEquals
opNeg
opOpAssign
scalar
properties
length
variables
x
y
Calculate the diff between two vectors.