extractHeading

Returns this viewing matrix's heading angle. The roll argument enables the caller to disambiguate heading and roll when the two rotation axes for heading and roll are parallel, causing gimbal lock.
The result of this method is undefined if this matrix is not a viewing matrix.

Return

the extracted heading angle

Parameters

roll

the viewing matrix's roll angle, or 0 if the roll angle is unknown