Skip to content

Commit 30de434

Browse files
committed
!U coord system center marked by red cross
1 parent e38998c commit 30de434

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

printrun/gl/libtatlin/actors.py

+10
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,16 @@ def color(i):
169169

170170
glPopMatrix()
171171

172+
# draw center
173+
glBegin(GL_LINES)
174+
glColor4f(1,0,0,1)
175+
glVertex3f(-1.0, 1.0, 0.0)
176+
glVertex3f(1.0, -1.0, 0.0)
177+
glVertex3f(-1.0, -1.0, 0.0)
178+
glVertex3f(1.0, 1.0, 0.0)
179+
glEnd()
180+
181+
172182
def display(self, mode_2d=False):
173183
# FIXME: using the list sometimes results in graphical corruptions
174184
# glCallList(self.display_list)

0 commit comments

Comments
 (0)