mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
Up to vector addition in chapter 1
This commit is contained in:
@ -21,8 +21,10 @@ class VMobject(Mobject):
|
||||
|
||||
## Colors
|
||||
def init_colors(self):
|
||||
if not hasattr(self, "stroke_color"):
|
||||
self.stroke_color = self.color
|
||||
self.set_style_data(
|
||||
stroke_color = self.color,
|
||||
stroke_color = self.stroke_color,
|
||||
stroke_width = self.stroke_width,
|
||||
fill_color = self.fill_color,
|
||||
fill_opacity = self.fill_opacity,
|
||||
|
Reference in New Issue
Block a user