- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/bullet/LinearMath/btConvexHull.cpp
r2907 r2908 263 263 for(btScalar x = btScalar(0.0) ; x<= btScalar(360.0) ; x+= btScalar(45.0)) 264 264 { 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)); 267 267 int mb = maxdirfiltered(p,count,dir+(u*s+v*c)*btScalar(0.025),allow); 268 268 if(ma==m && mb==m) … … 276 276 for(btScalar xx = x-btScalar(40.0) ; xx <= x ; xx+= btScalar(5.0)) 277 277 { 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)); 280 280 int md = maxdirfiltered(p,count,dir+(u*s+v*c)*btScalar(0.025),allow); 281 281 if(mc==m && md==m)
Note: See TracChangeset
for help on using the changeset viewer.