Learn R Programming

rayshader (version 0.13.2)

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)

Arguments

rotmat

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

Value

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

Examples

Run this code
# NOT RUN {
#None
# }

Run the code above in your browser using DataLab