Vector2.Dot(Vector2 lhs, Vector2 rhs)
Dot Product of two vectors.
Parameters:
Name | Type | Description |
---|---|---|
lhs | Vector2 | lhs |
rhs | Vector2 | rhs |
Returns:
type | Description |
---|---|
number | Dot Product of two vectors. |
Usage
---@type Vector2
local lhs;
---@type Vector2
local rhs;
local val0 = Vector2:Dot(lhs, rhs)
Extra Detail
Returns lhs . rhs.