Explorar el Código

add: vpu speed channel

micha hace 2 años
padre
commit
e51fe899c3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vpu/shader2_live.py

+ 1 - 0
vpu/shader2_live.py

@@ -370,6 +370,7 @@ class Screen(mglw.WindowConfig):
             b = x[143-1]/255
             aa = x[144-1] *4 #* a
             bb = x[145-1] *4 #* a
+            self.ANG += x[147-1]/255. # *4 #* a
         self.set_uniform('time',a)
         self.set_uniform('fix_block_pos',[aa,bb,0,0])
         self.set_uniform('fix_circle_pos',[bb,aa,0,0])