mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Behavior of stroke_width for point_cloud mobjects now fills out a bigger block of pixels
This commit is contained in:
parent
83e28f9efb
commit
c1f7f17151
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue