mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 05:52:34 +08:00
More hilbert work, including simple new Grid mobject
This commit is contained in:
@ -500,6 +500,7 @@ class Mobject1D(Mobject):
|
||||
|
||||
|
||||
def add_line(self, start, end, color = None):
|
||||
start, end = map(np.array, [start, end])
|
||||
length = np.linalg.norm(end - start)
|
||||
if length == 0:
|
||||
points = [start]
|
||||
|
Reference in New Issue
Block a user