technique

PVector vector arithmetic

Packages a point's x,y(,z) into one PVector with add/sub/mult/div/mag/normalize methods, so motion code treats location and velocity as single vectors.

Also called: PVector · vector addition and subtraction · vector normalization

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.