dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Vector2.scalar
Dgame
Math
Vector2
Vector2
Calculate the scalar product.
struct
Vector2
(T)
@
nogc
float
scalar
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 scalar product.