powered by
Given three angles return rotation matrix.
euler_passive(phi, theta, psi)
3 by 3 rotation matrix.
angle with x-axis
angle with y-axis
angle with z-axis
Jonathan M. Lees<jonathan.lees@unc.edu>, Baptiste Auguie<baptiste.auguie@gmail.com>
Code borrowed from cpp code in package cda. used in rgl.ellipsoid.
rgl.ellipsoid
options(rgl.useNULL = TRUE) phi=30*pi/180 ; theta= 20*pi/180; psi = 6*pi/180 rr = euler_passive(phi,theta,psi)
Run the code above in your browser using DataLab