ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/utils/sysbuilder/MoLocator.cpp
(Generate patch)

Comparing trunk/OOPSE/utils/sysbuilder/MoLocator.cpp (file contents):
Revision 821 by mmeineke, Fri Oct 24 22:17:45 2003 UTC vs.
Revision 825 by mmeineke, Mon Oct 27 22:08:36 2003 UTC

# Line 216 | Line 216 | void getEulerRot( double theta, double phi, double psi
216    rot[2][2] = cos(theta);  
217   }
218  
219
220 void getUnitRot( double u[3], double rot[3][3] ){
221
222  double theta, phi, psi;
223
224  theta = acos(u[2]);
225  phi = atan(u[1] / u[0]);
226  psi = 0.0;
227
228  getEulerRot( theta, phi, psi, rot );
229 }
230                        
231

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines