compile fixes

This commit is contained in:
Erwin Coumans
2017-07-29 13:40:03 +02:00
parent d28dd2f80a
commit c67a70cb09
2 changed files with 15 additions and 1 deletions

View File

@@ -1278,7 +1278,20 @@ void btConvexHullInternal::computeInternal(int start, int end, IntermediateHull&
return; return;
} }
} }
// lint -fallthrough {
Vertex* v = originalVertices[start];
v->edges = NULL;
v->next = v;
v->prev = v;
result.minXy = v;
result.maxXy = v;
result.minYx = v;
result.maxYx = v;
}
return;
}
case 1: case 1:
{ {
Vertex* v = originalVertices[start]; Vertex* v = originalVertices[start];

View File

@@ -98,6 +98,7 @@ SIMD_FORCE_INLINE bool btMutexTryLock( btSpinMutex* mutex )
class btIParallelForBody class btIParallelForBody
{ {
public: public:
virtual ~btIParallelForBody() {}
virtual void forLoop( int iBegin, int iEnd ) const = 0; virtual void forLoop( int iBegin, int iEnd ) const = 0;
}; };