mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 04:23:16 +08:00
Reframe Mobject, VMobject and SurfaceMobject with a data map
This commit is contained in:
@ -281,6 +281,7 @@ class SVGMobject(VMobject):
|
||||
matrix[:, 1] *= -1
|
||||
|
||||
for mob in mobject.family_members_with_points():
|
||||
# TODO, directly apply matrix?
|
||||
mob.set_points(np.dot(mob.get_points(), matrix))
|
||||
mobject.shift(x * RIGHT + y * UP)
|
||||
except:
|
||||
|
Reference in New Issue
Block a user