Skip to main content Link Menu Expand (external link) Document Search Copy Copied

double headingYZ()

This function returns the heading in the YZ plane. For this, the Z axis is the forward axis.

Returns

A double that holds the heading in the YZ plane.

Example

PVector v = PVector(0, 1, 1);
v.headingYZ(); // Returns 45