[Opentnl-cvs] tnl/zap barrier.cpp,1.18,1.19
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark F. <mar...@us...> - 2004-10-19 23:57:51
|
Update of /cvsroot/opentnl/tnl/zap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4290/zap Modified Files: barrier.cpp Log Message: Updated more levels to have filled in areas Index: barrier.cpp =================================================================== RCS file: /cvsroot/opentnl/tnl/zap/barrier.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** barrier.cpp 19 Oct 2004 22:19:39 -0000 1.18 --- barrier.cpp 19 Oct 2004 23:57:42 -0000 1.19 *************** *** 60,64 **** double cosTheta = curEdge.dot(lastEdge); ! if(cosTheta >= 0) { F32 extendAmt = width * 0.5 * tan( acos(cosTheta) / 2 ); --- 60,64 ---- double cosTheta = curEdge.dot(lastEdge); ! if(cosTheta >= -0.01) { F32 extendAmt = width * 0.5 * tan( acos(cosTheta) / 2 ); |