keep old averaging behavior for circle bounds
This commit is contained in:
parent
3adab44a91
commit
28e549f403
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ class OpCircleBounds(val max: Boolean) : ConstManaOperator {
|
|||
|
||||
return Operator.spellListOf(
|
||||
if (max)
|
||||
Vec3(aabb.maxX - 1, aabb.maxY - 1, aabb.maxZ - 1)
|
||||
Vec3(aabb.maxX - 0.5, aabb.maxY - 0.5, aabb.maxZ - 0.5)
|
||||
else
|
||||
Vec3(aabb.minX, aabb.minY, aabb.minZ)
|
||||
Vec3(aabb.minX + 0.5, aabb.minY + 0.5, aabb.minZ + 0.5)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue