geom/aabb: correct centre
for order of operations...
This commit is contained in:
parent
4b8947464b
commit
9590a006da
@ -70,7 +70,7 @@ namespace cruft::geom {
|
||||
{
|
||||
point<S,T> res;
|
||||
for (std::size_t i = 0; i < S; ++i)
|
||||
res[i] = (lo[i] + hi[i] / 2);
|
||||
res[i] = (lo[i] + hi[i]) / 2;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user