rot_to_euler {rayshader}R Documentation

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

#None

[Package rayshader version 0.37.3 Index]