Skip to content
Snippets Groups Projects
Commit 32d983c5 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

Rendering "nicified"

parent f42a4ce6
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ class PILGL(GraphicsLayer): ...@@ -83,7 +83,7 @@ class PILGL(GraphicsLayer):
self.background_grid = np.zeros(shape=(self.width, self.height)) self.background_grid = np.zeros(shape=(self.width, self.height))
for x in range(self.width): for x in range(self.width):
for y in range(self.height): for y in range(self.height):
distance = int(np.ceil(np.sqrt(self.width**2.0 + self.height**2.0))) distance = int(np.ceil(np.sqrt(self.width ** 2.0 + self.height ** 2.0)))
for rc in dTargets: for rc in dTargets:
r = rc[1] r = rc[1]
c = rc[0] c = rc[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment