Vec2.dot

Computes the dot product of the two given vectors.

class Vec2
float
dot

Parameters

b graphene.vec2.Vec2

a #graphene_vec2_t

Return Value

Type: float

the dot product of the vectors