[Plib-cvs] plib/src/ssg ssgKeyFlier.h,1.7,1.8
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-04-06 13:45:15
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18289/plib/src/ssg Modified Files: ssgKeyFlier.h Log Message: Added Christos Dimitrakakis' fixes to SL to prevent crackling in certain envelope conditions. Fixed some double-->float warnings in KeyFlier. Index: ssgKeyFlier.h =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgKeyFlier.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- ssgKeyFlier.h 28 Feb 2004 22:29:11 -0000 1.7 +++ ssgKeyFlier.h 6 Apr 2004 13:32:26 -0000 1.8 @@ -227,8 +227,8 @@ case '6' : velocity.hpr[0] -= rscale ; break ; case '4' : velocity.hpr[0] += rscale ; break ; /* Kludge to try to prevent *exact* +/-90 degree pitch terms */ - case '8' : velocity.hpr[1] -= rscale+0.00001 ; break ; - case '2' : velocity.hpr[1] += rscale+0.00001 ; break ; + case '8' : velocity.hpr[1] -= rscale+0.00001f ; break ; + case '2' : velocity.hpr[1] += rscale+0.00001f ; break ; case '7' : velocity.hpr[2] -= rscale ; break ; case '9' : velocity.hpr[2] += rscale ; break ; |