summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/gl
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sgi/gl')
-rwxr-xr-xDemo/sgi/gl/mclock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/gl/mclock.py b/Demo/sgi/gl/mclock.py
index b1dfa1b..6af01ba 100755
--- a/Demo/sgi/gl/mclock.py
+++ b/Demo/sgi/gl/mclock.py
@@ -348,7 +348,7 @@ def makesublist(first, icolor):
for i in range(Gl.nparts):
angle = (a + i*alpha + FULLC) % FULLC
value = 255*(Gl.nparts-1-i)/(Gl.nparts-1)
- list.append(angle, icolor, value)
+ list.append((angle, icolor, value))
list.sort()
a, icolor, value = list[0]
if a <> 0:
@@ -416,7 +416,7 @@ def render(list, (little_hand, big_hand, seconds_hand)):
Gl.c3i((255, 255, 255)) # White
circf(0.0, 0.0, 1.0)
else:
- list.append(3600, 0, 255) # Sentinel
+ list.append((3600, 0, 255)) # Sentinel
#
rgb = [255, 255, 255]
a_prev = 0