Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 747 Bytes

File metadata and controls

55 lines (27 loc) · 747 Bytes

Home > server > Vector2 > dot

Vector2.dot() method

Calculates the dot product of the current vector and another vector.

Signature:

dot(vector2: Vector2): number;

Parameters

Parameter

Type

Description

vector2

Vector2

The vector to calculate the dot product with.

**Returns:**

number

The dot product of the two vectors.