mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
Parametric surface should remember what function created it
This commit is contained in:
@ -33,6 +33,7 @@ class ParametricSurface(VGroup):
|
||||
|
||||
def __init__(self, func, **kwargs):
|
||||
VGroup.__init__(self, **kwargs)
|
||||
self.func = func
|
||||
self.setup_in_uv_space()
|
||||
self.apply_function(lambda p: func(p[0], p[1]))
|
||||
if self.should_make_jagged:
|
||||
|
Reference in New Issue
Block a user