fix issue (apparently closestFaceA/B can be -1, need to figure out how that can ever happen (it shouldn’t)
This commit is contained in:
@@ -1642,7 +1642,7 @@ static const char* satKernelsCL= \
|
||||
" int numWorldVertsB1= 0;\n"
|
||||
" \n"
|
||||
" \n"
|
||||
" int closestFaceB=-1;\n"
|
||||
" int closestFaceB=0;\n"
|
||||
" float dmax = -FLT_MAX;\n"
|
||||
" \n"
|
||||
" {\n"
|
||||
@@ -1676,7 +1676,7 @@ static const char* satKernelsCL= \
|
||||
" }\n"
|
||||
" }\n"
|
||||
" \n"
|
||||
" int closestFaceA=-1;\n"
|
||||
" int closestFaceA=0;\n"
|
||||
" {\n"
|
||||
" float dmin = FLT_MAX;\n"
|
||||
" for(int face=0;face<hullA->m_numFaces;face++)\n"
|
||||
|
||||
Reference in New Issue
Block a user