Account for updated rate_func usage in Rotate

This commit is contained in:
Grant Sanderson 2022-11-18 09:07:33 -08:00
parent 4e7f06dea8
commit d8e4c1d698

View file

@ -40,7 +40,7 @@ class Rotating(Animation):
for sm1, sm2 in self.get_all_families_zipped():
sm1.set_points(sm2.get_points())
self.mobject.rotate(
alpha * self.angle,
self.rate_func(alpha) * self.angle,
axis=self.axis,
about_point=self.about_point,
about_edge=self.about_edge,