Up to vector addition in chapter 1

This commit is contained in:
Grant Sanderson
2016-07-16 13:34:21 -07:00
parent 4e3f7292af
commit 573cc73b49
4 changed files with 166 additions and 14 deletions

View File

@ -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,