Module ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Import alias Assign NameStore TupleLoad Num Num FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Num Num NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Expr Call NameLoad Num BinOpDiv Call NameLoad NameLoad NameLoad Num Num Expr Call NameLoad NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad TupleLoad Num Num Num Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Num Num Num Num Expr Call NameLoad NameLoad NameLoad TupleLoad Num Num Num Num Expr Call NameLoad NameLoad NameLoad TupleLoad Num Num Num Num Expr Call NameLoad NameLoad NameLoad TupleLoad Num Num Num Num Expr Call NameLoad NameLoad NameLoad Num Expr Call NameLoad NameLoad NameLoad TupleLoad Num Num Num Num Expr Call NameLoad NameLoad NameLoad TupleLoad Num Num Num Num Expr Call NameLoad NameLoad NameLoad TupleLoad Num Num Num Num Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad TupleLoad Num Num Num Num decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num While NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Expr Call NameLoad BinOpBitOr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad Num Expr Call NameLoad Expr Call NameLoad Num Num Num Num Expr Call NameLoad Num Num Num AugAssignAdd NameStore BinOpMult NameLoad Num Expr Call NameLoad NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A math radians OpenGL.GL * OpenGL.GLU * N/A pygame pygame.locals * N/A model3d N/A SCREEN_SIZE N/A 800 600 resize N/A N/A width height N/A N/A N/A N/A glViewport 0 0 width height N/A N/A glMatrixMode GL_PROJECTION N/A N/A glLoadIdentity N/A N/A gluPerspective 60.0 N/A N/A float width height 0.1 1000.0 N/A N/A glMatrixMode GL_MODELVIEW N/A N/A glLoadIdentity N/A init N/A N/A N/A N/A N/A N/A glEnable GL_FOG N/A N/A glFogfv GL_FOG_COLOR N/A 1.0 1.0 1.0 N/A N/A glFogi GL_FOG_MODE GL_LINEAR N/A N/A glFogf GL_FOG_START 1.5 N/A N/A glFogf GL_FOG_END 3.5 N/A N/A glEnable GL_DEPTH_TEST N/A N/A glEnable GL_LIGHTING N/A N/A glEnable GL_COLOR_MATERIAL N/A N/A glEnable GL_TEXTURE_2D N/A N/A glEnable GL_CULL_FACE N/A N/A glShadeModel GL_SMOOTH N/A N/A glClearColor 1.0 1.0 1.0 0.0 N/A N/A glMaterial GL_FRONT GL_AMBIENT N/A 0.0 0.0 0.0 1.0 N/A N/A glMaterial GL_FRONT GL_DIFFUSE N/A 0.2 0.2 0.2 1.0 N/A N/A glMaterial GL_FRONT GL_SPECULAR N/A 1.0 1.0 1.0 1.0 N/A N/A glMaterial GL_FRONT GL_SHININESS 10.0 N/A N/A glLight GL_LIGHT0 GL_AMBIENT N/A 0.0 0.0 0.0 1.0 N/A N/A glLight GL_LIGHT0 GL_DIFFUSE N/A 0.4 0.4 0.4 1.0 N/A N/A glLight GL_LIGHT0 GL_SPECULAR N/A 1.0 1.0 1.0 1.0 N/A N/A glEnable GL_LIGHT0 N/A N/A glLight GL_LIGHT0 GL_POSITION N/A 0 0.5 1 0 N/A run N/A N/A N/A N/A N/A N/A N/A pygame init N/A screen N/A N/A N/A pygame display set_mode SCREEN_SIZE N/A N/A HWSURFACE OPENGL DOUBLEBUF N/A N/A resize SCREEN_SIZE N/A N/A init N/A clock N/A N/A N/A pygame time Clock N/A tank_model N/A N/A model3d Model3D N/A N/A N/A tank_model read_obj mytank.obj N/A rotation 0.0 N/A True N/A N/A event N/A N/A N/A pygame event get N/A N/A N/A N/A event type QUIT N/A N/A N/A N/A pygame quit N/A N/A quit N/A N/A glClear N/A GL_COLOR_BUFFER_BIT GL_DEPTH_BUFFER_BIT N/A time_passed N/A N/A clock tick N/A time_passed_seconds N/A time_passed 1000.0 N/A N/A glLoadIdentity N/A N/A glRotatef 15 1 0 0 N/A N/A glTranslatef 0.0 -1.5 -3.5 N/A rotation N/A time_passed_seconds 45.0 N/A N/A glRotatef rotation 0 1 0 N/A N/A N/A tank_model draw_quick N/A N/A N/A N/A pygame display flip N/A N/A N/A __name__ __main__ N/A N/A N/A run