YawPR Function

Calculates the rotation of a 3x3 matrix around the X, Y and Z axes


Description

The YawPR() function calculates the YawPitchRoll rotation. With this function an active matrix rotation (rotate object) or a passive matrix rotation (rotate coordinates) can be calculated

By default, active matrix rotation is returned as a result. If a 1 is passed in the optional fourth parameter, the passive matrix rotation is calculated.

Syntax

YawPR (x, y, z)

YawPR (x, y, z, 1)

From version 8.2.1