ref: daa4c8330f5bd6c7eed7cad30353fc5848922101
parent: 7603313dc1861f9c23fad74f841219685d5bd70f
author: MHS <gek@katherine>
date: Tue Apr 27 19:39:00 EDT 2021
Automatic commit.
--- a/include-demo/3dMath.h
+++ b/include-demo/3dMath.h
@@ -511,7 +511,7 @@
vec3 axispen[2];
axispen[0] = subv3(b1max,b2min);
axispen[1] = subv3(b1min,b2max);
- ret.d[3] = axispen[0].d[0];
+ ret.d[3] = fabs(axispen[0].d[0]);
ret.d[0] = axispen[0].d[0];
for(int i = 1; i < 6; i++){
if(fabs(axispen[i/3].d[i%3]) < fabs(ret.d[3])){