Math module

dot

procedure · 3 overloadsSource

The same procedure as dot_product.

dot :: (a: Vector2, b: Vector2) -> float

The dot product of a and b.

Parameters

a: Vector2
the first vector.
b: Vector2
the second vector.

Returns

float
dot :: (a: Vector3, b: Vector3) -> float

The dot product of a and b.

Parameters

a: Vector3
the first vector.
b: Vector3
the second vector.

Returns

float
dot :: (a: Vector4, b: Vector4) -> float

The dot product of a and b.

Parameters

a: Vector4
the first vector.
b: Vector4
the second vector.

Returns

float

See also