mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 12:32:36 +08:00
Fix Point.set_location
This commit is contained in:
@ -1464,4 +1464,4 @@ class Point(Mobject):
|
|||||||
return self.get_location()
|
return self.get_location()
|
||||||
|
|
||||||
def set_location(self, new_loc):
|
def set_location(self, new_loc):
|
||||||
self.set_points([new_loc])
|
self.set_points(np.array(new_loc, ndmin=2, dtype=float))
|
||||||
|
Reference in New Issue
Block a user