Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ahmad Reza Cheraghi
swarm-sim
Commits
f7d92993
Commit
f7d92993
authored
Apr 12, 2019
by
Ahmad Reza Cheraghi
Browse files
some code cleaning based on the results of sonarqube
parent
3a85c10d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/vis.py
View file @
f7d92993
...
...
@@ -315,7 +315,7 @@ class VisWindow(pyglet.window.Window):
tile_alpha
=
1
else
:
texLeft
=
7
/
8
texRight
=
8
/
8
texRight
=
1
# 8/
8
texBottom
=
4
/
8
texTop
=
5
/
8
tile_alpha
=
0.5
...
...
@@ -407,7 +407,7 @@ class VisWindow(pyglet.window.Window):
self
.
location_vertex_list
.
vertices
[
8
*
i
:
8
*
i
+
8
]
=
[
x
-
weird
,
y
-
weird
,
x
+
weird
,
y
-
weird
,
x
+
weird
,
y
+
weird
,
x
-
weird
,
y
+
weird
]
texLeft
=
7
/
8
texRight
=
8
/
8
texRight
=
1
#
8/8
texBottom
=
0
/
8
texTop
=
1
/
8
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment