void mouse(int bn, int st, int x, int y);
void motion(int x, int y);
void mouse(int bn, int st, int x, int y);
void motion(int x, int y);
static float cam_theta, cam_phi;
static int prev_mx, prev_my;
static bool bnstate[8];
static float cam_theta, cam_phi;
static int prev_mx, prev_my;
static bool bnstate[8];
- gluPerspective(50.0, (float)x / (float)y, 0.05, 100.0);
+ gluPerspective(50.0, (float)x / (float)y, 0.01, 100.0);