Show More
@@ -157,10 +157,7 b' def inputhook_glut():' | |||||
157 | # 0.01 1.5% |
|
157 | # 0.01 1.5% | |
158 | # 0.05 0.5% |
|
158 | # 0.05 0.5% | |
159 | used_time = clock() - t |
|
159 | used_time = clock() - t | |
160 |
if used_time > |
|
160 | if used_time > 10.0: | |
161 | # print 'Sleep for 5 s' # dbg |
|
|||
162 | time.sleep(5.0) |
|
|||
163 | elif used_time > 10.0: |
|
|||
164 | # print 'Sleep for 1 s' # dbg |
|
161 | # print 'Sleep for 1 s' # dbg | |
165 | time.sleep(1.0) |
|
162 | time.sleep(1.0) | |
166 | elif used_time > 0.1: |
|
163 | elif used_time > 0.1: |
@@ -96,10 +96,7 b' def inputhook_pyglet():' | |||||
96 | # 0.01 1.5% |
|
96 | # 0.01 1.5% | |
97 | # 0.05 0.5% |
|
97 | # 0.05 0.5% | |
98 | used_time = clock() - t |
|
98 | used_time = clock() - t | |
99 |
if used_time > |
|
99 | if used_time > 10.0: | |
100 | # print 'Sleep for 5 s' # dbg |
|
|||
101 | time.sleep(5.0) |
|
|||
102 | elif used_time > 10.0: |
|
|||
103 | # print 'Sleep for 1 s' # dbg |
|
100 | # print 'Sleep for 1 s' # dbg | |
104 | time.sleep(1.0) |
|
101 | time.sleep(1.0) | |
105 | elif used_time > 0.1: |
|
102 | elif used_time > 0.1: |
@@ -142,10 +142,7 b' def inputhook_wx3():' | |||||
142 | # 0.01 1.5% |
|
142 | # 0.01 1.5% | |
143 | # 0.05 0.5% |
|
143 | # 0.05 0.5% | |
144 | used_time = clock() - t |
|
144 | used_time = clock() - t | |
145 |
if used_time > |
|
145 | if used_time > 10.0: | |
146 | # print 'Sleep for 5 s' # dbg |
|
|||
147 | time.sleep(5.0) |
|
|||
148 | elif used_time > 10.0: |
|
|||
149 | # print 'Sleep for 1 s' # dbg |
|
146 | # print 'Sleep for 1 s' # dbg | |
150 | time.sleep(1.0) |
|
147 | time.sleep(1.0) | |
151 | elif used_time > 0.1: |
|
148 | elif used_time > 0.1: |
General Comments 0
You need to be logged in to leave comments.
Login now