摘要: 展示怎么制作动画。。。。#-*- coding:utf-8 -*-from pyglet.gl import *from pyglet import clockdef draw_rect(x, y,z,width, height,ang): glClear(GL_COLOR_BUFFER_BI... 阅读全文
posted @ 2015-06-27 21:50 时光旅者 阅读(564) 评论(0) 推荐(0)
摘要: 这里列出一种在窗口Window中画图的程序框架。。。。。。。。。。#-*- coding:utf-8 -*-from pyglet.gl import *def draw_rect(x, y, width, height): glBegin(GL_LINE_LOOP) glVertex2... 阅读全文
posted @ 2015-06-27 21:13 时光旅者 阅读(833) 评论(0) 推荐(0)