Learn R Programming

rayshader (version 0.37.3)

rot_to_euler: Rotation Matrix to Euler Angle Transform

Description

Transforms a rotation matrix (R_X R_Y R_Z) into Euler angles.

Usage

rot_to_euler(rotmat)

Value

Euler angles in degrees. c(phi,theta,yaw)

Arguments

rotmat

The rotation matrix. Can be 3x3 or 4x4 (homogeneous coordinates).

Examples

Run this code
#None

Run the code above in your browser using DataLab