math docs
Preparing search index...
index
vec2
dot
Function dot
dot
(
a
:
vec2
.
Vec2
,
b
:
vec2
.
Vec2
)
:
number
Calculates the dot product of two vec2's
Parameters
a
:
vec2
.
Vec2
the first operand
b
:
vec2
.
Vec2
the second operand
Returns
number
dot product of a and b
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
math docs
Loading...
Calculates the dot product of two vec2's