Open tessavdheiden opened 4 years ago
Hi developer(s),
Please check out this: https://github.com/openai/multiagent-particle-envs/blob/69ee7f85811c77ee651722bc3c332677b2195da1/multiagent/rendering.py#L232
line 232: for p in self.v: glVertex3f(p[0], p[1],0) # draw each vertex line 237: for p in self.v: glVertex3f(p[0], p[1],0) # draw each vertex
for p in self.v: glVertex3f(p[0], p[1],0) # draw each vertex
Is not one loop redundant?
Hi developer(s),
Please check out this: https://github.com/openai/multiagent-particle-envs/blob/69ee7f85811c77ee651722bc3c332677b2195da1/multiagent/rendering.py#L232
line 232:
for p in self.v: glVertex3f(p[0], p[1],0) # draw each vertex
line 237:for p in self.v: glVertex3f(p[0], p[1],0) # draw each vertex
Is not one loop redundant?