Changeset 5306 for trunk/psLib/src/astro/psSphereOps.c
- Timestamp:
- Oct 13, 2005, 10:23:57 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psSphereOps.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psSphereOps.c
r4898 r5306 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2005- 08-30 01:14:10$9 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-10-13 20:23:57 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 153 153 154 154 // following came from ADD 155 out->q0 = b3*a0 + b2*a1 - b1*a2 + b0*a3; 156 out->q1 = b3*a1 - b2*a0 + b1*a3 + b0*a2; 157 out->q2 = b3*a2 + b2*a3 + b1*a0 - b0*a1; 158 out->q3 = b3*a3 - b3*a2 - b1*a1 - b0*a0; 155 // out->q0 = b3*a0 + b2*a1 - b1*a2 + b0*a3; 156 // out->q1 = b3*a1 - b2*a0 + b1*a3 + b0*a2; 157 // out->q2 = b3*a2 + b2*a3 + b1*a0 - b0*a1; 158 out->q0 = a3*b0 + a0*b3 + a1*b2 - a2*b1; 159 out->q1 = a3*b1 - a0*b2 + a1*b3 + a2*b0; 160 out->q2 = a3*b2 + a0*b1 - a1*b0 + a2*b3; 161 162 out->q3 = b3*a3 - b2*a2 - b1*a1 - b0*a0; 159 163 160 164 return out;
Note:
See TracChangeset
for help on using the changeset viewer.
