opengl 3D迷宫 C 实现 源代码.docVIP

  • 0
  • 0
  • 约8.92千字
  • 约 9页
  • 2019-05-18 发布于浙江
  • 举报
#include stdafx.h #include stdio.h #include stdlib.h #include GL/glut.h #include math.h #include iostream using namespace std; void drawwalls(void); void drawtop(void); void drawball(void); #define IDM_APPLICATION_EXIT (101) #define IDM_APPLICATION_TEXTURE (102) #define IDM_APPLICATION_BANK (103) #define MAZE_HEIGHT (16) #define MAZE_WIDTH (16) #define STARTING_POINT_X (13.5f); #define STARTING_POINT_Y (1.5f); #define STARTING_HEADING (90.0f); float player_x = STARTING_POINT_X ; float player_y = STARTING_POINT_Y ; float player_h = STARTING_HEADING ; // players heading float player_s =

文档评论(0)

1亿VIP精品文档

相关文档