Documentation
Dlang.org
Vec2.dot
graphene
vec2
Vec2
Computes the dot product of the two given vectors.
class
Vec2
float
dot
(
graphene.vec2.Vec2
b
)
Parameters
b
graphene
.
vec2
.
Vec2
a #graphene_vec2_t
Return Value
Type:
float
the dot product of the vectors
graphene
vec2
Vec2
constructors
this
functions
add
cPtr
divide
dot
equal
getX
getY
initFromFloat
initFromVec2
init_
interpolate
length
max
min
multiply
near
negate
normalize
scale
self
subtract
toFloat
properties
gType
static functions
alloc
getGType
one
xAxis
yAxis
zero
Computes the dot product of the two given vectors.