A few fixes to initial point_thickness implementation

This commit is contained in:
Grant Sanderson
2015-10-10 18:48:25 -07:00
parent c0994ed0a5
commit 014a277a97
3 changed files with 15 additions and 8 deletions

View File

@ -21,7 +21,7 @@ class Mobject(object):
#Number of numbers used to describe a point (3 for pos, 3 for normal vector)
DEFAULT_CONFIG = {
"color" : "white",
"point_thickness" : 4,
"point_thickness" : DEFAULT_POINT_THICKNESS,
"name" : None,
}
DIM = 3
@ -369,7 +369,7 @@ class Mobject2D(Mobject):
"density" : DEFAULT_POINT_DENSITY_2D,
}
def __init__(self, **kwargs):
digest_config(self, Mobject1D, kwargs)
digest_config(self, Mobject2D, kwargs)
self.epsilon = 1.0 / self.density
Mobject.__init__(self, **kwargs)