mirror of
https://github.com/3b1b/manim.git
synced 2026-04-26 03:00:23 -04:00
Made ORIGIN default center of PointDotMobject
This commit is contained in:
@@ -184,7 +184,7 @@ class PointCloudDot(Mobject1D):
|
||||
"density" : DEFAULT_POINT_DENSITY_1D,
|
||||
"color" : YELLOW,
|
||||
}
|
||||
def __init__(self, center, **kwargs):
|
||||
def __init__(self, center = ORIGIN, **kwargs):
|
||||
Mobject1D.__init__(self, **kwargs)
|
||||
self.shift(center)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user