Vector

The Vector library is used to represent points and directions in 3D space. It is used heavily in MMM for giving orders, placing objects and many other operations.

Properties

Name Type Access Description
x Number RW X component of the Vector
y Number RW Y component of the Vector
Number RW Z component of the Vector
length Number R The magnitude
lengthSquared Number R The square magnitude

Functions