mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Made ORIGIN default center of PointDotMobject
This commit is contained in:
parent
cd2257ad65
commit
96b48388dd
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class PointCloudDot(Mobject1D):
|
||||||
"density" : DEFAULT_POINT_DENSITY_1D,
|
"density" : DEFAULT_POINT_DENSITY_1D,
|
||||||
"color" : YELLOW,
|
"color" : YELLOW,
|
||||||
}
|
}
|
||||||
def __init__(self, center, **kwargs):
|
def __init__(self, center = ORIGIN, **kwargs):
|
||||||
Mobject1D.__init__(self, **kwargs)
|
Mobject1D.__init__(self, **kwargs)
|
||||||
self.shift(center)
|
self.shift(center)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue