{
glutInitWindowSize(1024, 768);
glutInit(&argc, argv);
- glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE);
+ glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE | GLUT_MULTISAMPLE);
glutCreateWindow("Antikythera");
glutDisplayFunc(display);
{
glewInit();
+ glEnable(GL_MULTISAMPLE);
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
glEnable(GL_LIGHTING);
glutPostRedisplay();
}
if(bnstate[2]) {
- cam_dist += dy * 0.05;
+ cam_dist += dy * 0.01;
if(cam_dist < 0.0) cam_dist = 0.0;
glutPostRedisplay();
}