SAT Planning-碰撞检测之分离轴定理( 二 )

< maxs) {o += mins;axis = -axis; // negate the separating axis} elst {o += maxs;}}// check for minimunif (o < overlap) {overlap = o;smallest = axis;}}