Vector3Dot

Family: Maths · One form

What it does

Vector3Dot takes vectorU (an integer) and vectorV (an integer), and answers a float.

Syntax

Vector3Dot(vectorU integer, vectorV integer) → float

Parameters

NameType
vectorUinteger
vectorVinteger

Every form returns

float

Example · generated

DO  Print(Vector3Dot(1, 1))  Sync()LOOP

Vector3Dot is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

12 commands in Maths