Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/bullet/LinearMath/btConvexHull.cpp

    r2907 r2908  
    263263                for(btScalar x = btScalar(0.0) ; x<= btScalar(360.0) ; x+= btScalar(45.0))
    264264                {
    265                         btScalar s = btSin(SIMD_RADS_PER_DEG*(x));
    266                         btScalar c = btCos(SIMD_RADS_PER_DEG*(x));
     265                        btScalar s = sinf(SIMD_RADS_PER_DEG*(x));
     266                        btScalar c = cosf(SIMD_RADS_PER_DEG*(x));
    267267                        int mb = maxdirfiltered(p,count,dir+(u*s+v*c)*btScalar(0.025),allow);
    268268                        if(ma==m && mb==m)
     
    276276                                for(btScalar xx = x-btScalar(40.0) ; xx <= x ; xx+= btScalar(5.0))
    277277                                {
    278                                         btScalar s = btSin(SIMD_RADS_PER_DEG*(xx));
    279                                         btScalar c = btCos(SIMD_RADS_PER_DEG*(xx));
     278                                        btScalar s = sinf(SIMD_RADS_PER_DEG*(xx));
     279                                        btScalar c = cosf(SIMD_RADS_PER_DEG*(xx));
    280280                                        int md = maxdirfiltered(p,count,dir+(u*s+v*c)*btScalar(0.025),allow);
    281281                                        if(mc==m && md==m)
Note: See TracChangeset for help on using the changeset viewer.