|
From: Gordon K. <kin...@us...> - 2004-04-15 14:54:13
|
Update of /cvsroot/teem/teem/src/mite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1678/mite Modified Files: ray.c Log Message: pretty serious bug: crashed if a normal spec had not been given, even if it wasn't needed, BUT, I'm not sure this is the right fix Index: ray.c =================================================================== RCS file: /cvsroot/teem/teem/src/mite/ray.c,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ray.c 11 Apr 2004 15:07:27 -0000 1.22 --- ray.c 15 Apr 2004 14:54:04 -0000 1.23 *************** *** 175,182 **** ELL_3V_COPY(mtt->directAnsMiteVal[miteValView], mtt->V); NN = mtt->directAnsMiteVal[miteValNormal]; ! if (1 == muu->normalSide) { ! ELL_3V_SCALE(NN, -1, mtt->_normal); ! } else { ! ELL_3V_COPY(NN, mtt->_normal); } --- 175,184 ---- ELL_3V_COPY(mtt->directAnsMiteVal[miteValView], mtt->V); NN = mtt->directAnsMiteVal[miteValNormal]; ! if (mtt->_normal) { ! if (1 == muu->normalSide) { ! ELL_3V_SCALE(NN, -1, mtt->_normal); ! } else { ! ELL_3V_COPY(NN, mtt->_normal); ! } } |