Fix issue #3
parent
15cd434e4b
commit
93b98359e7
|
@ -720,7 +720,7 @@ inline static void support( struct bd *body, double *v ) {
|
||||||
|
|
||||||
maxs = dotProduct(body->s, v);
|
maxs = dotProduct(body->s, v);
|
||||||
|
|
||||||
for (i = 1; i < body->numpoints; ++i) {
|
for (i = 0; i < body->numpoints; ++i) {
|
||||||
vrt = body->coord[i];
|
vrt = body->coord[i];
|
||||||
s = dotProduct (vrt, v);
|
s = dotProduct (vrt, v);
|
||||||
if ( s > maxs ){
|
if ( s > maxs ){
|
||||||
|
|
Loading…
Reference in New Issue