API Methods
The following pages describe common vector operations which are provided in the API as well as some generic use cases. One fact to keep in mind when using API methods is, that all methods mutate the vector the method is called on (unless explicitly stated it doesn't). Therefore cloning vectors will happen regularly.
Most examples stay in 2D (on the xz-axes), but remember that they're exactly the same in 3D. It's just easier to explain and understand (and visualize on a monitor) in only 2 dimensions.
Most operations will only be explained briefly. A link to more in-depth tutorials will be provided at the top of each page. I highly suggest you check these out as they dive much deeper into these basics.
Last updated