Specify default about_edge for Rotate

This commit is contained in:
Grant Sanderson 2021-01-14 01:00:53 -10:00
parent 8b83c5e27d
commit 098b939ec0

View file

@ -2,6 +2,7 @@ from manimlib.animation.animation import Animation
from manimlib.constants import OUT
from manimlib.constants import PI
from manimlib.constants import TAU
from manimlib.constants import ORIGIN
from manimlib.utils.rate_functions import linear
from manimlib.utils.rate_functions import smooth
@ -37,6 +38,7 @@ class Rotate(Rotating):
CONFIG = {
"run_time": 1,
"rate_func": smooth,
"about_edge": ORIGIN,
}
def __init__(self, mobject, angle=PI, axis=OUT, **kwargs):