Behavior of stroke_width for point_cloud mobjects now fills out a bigger block of pixels

This commit is contained in:
Grant Sanderson 2018-01-17 12:18:47 -08:00
parent 83e28f9efb
commit c1f7f17151

View file

@ -344,10 +344,7 @@ class Camera(object):
def get_thickening_nudges(self, thickness):
_range = range(-thickness/2+1, thickness/2+1)
return np.array(
list(it.product([0], _range))+
list(it.product(_range, [0]))
)
return np.array(list(it.product(_range, _range)))
def thickened_coordinates(self, pixel_coords, thickness):
nudges = self.get_thickening_nudges(thickness)