Skip to content

Commit 2b82b2d

Browse files
committed
Rename center to midpoint to avoid conflict with center.
1 parent 998a299 commit 2b82b2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scenic/core/regions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def AABB(self):
125125
pass
126126

127127
@cached_property
128-
def center(self):
128+
def midpoint(self):
129129
return Vector(*self.AABB[0]) + Vector(*self.AABB[1]) / 2
130130

131131
## Overridable Methods ##

0 commit comments

Comments
 (0)