- <init>
Constructor for a 3D vector.
- mag
( begin auto-generated from PVector_mag.xml ) Calculates the magnitude (length)
of the vector and re
- mult
Multiply a vector by a scalar, and write the result into a target PVector.
- normalize
- copy
( begin auto-generated from PVector_copy.xml ) Gets a copy of the vector,
returns a PVector object.
- cross
- div
Divide a vector by a scalar and store the result in another vector.
- heading
( begin auto-generated from PVector_setMag.xml ) Calculate the angle of rotation
for this vector (on
- set
Set the x, y (and maybe z) coordinates using a float[] array as the source.
- sub
Subtract one vector from another and store in another vector
- fromAngle
Make a new 2D unit vector from an angle
- get