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
functions
add
divide
dot
equal
getX
getY
initFromFloat
initFromVec2
init_
interpolate
length
max
min
multiply
near
negate
normalize
scale
subtract
toFloat
static functions
alloc
one
xAxis
yAxis
zero
Computes the dot product of the two given vectors.