Vector (Function)

Function to create 3D vector / coordinate. Receives either three arguments (x,y,z), two (x,y; z=0), or one (x=y=z). Can also convert array / list of numbers (V([1,2,3]) becomes V(1,2,3)).

Types:

Static Fields:

Static Methods:

Vector (Instance)

3D vector / coordinate. All the usual operators were implemented, multiplication and division can use both vector (per-axis) and number (all-axes). Beware that multiplication is scaling, not cross product or dot - use appropriate function for these.

Instance Properties:

Instance Methods: