minor changes
This commit is contained in:
parent
972313c4fc
commit
6236b6f155
@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
/* Conversion to GLUT by Mark J. Kilgard */
|
/* Conversion to GLUT by Mark J. Kilgard */
|
||||||
|
|
||||||
#include "glut_wrap.h"
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "glut_wrap.h"
|
||||||
|
|
||||||
static GLint T0 = 0;
|
static GLint T0 = 0;
|
||||||
static GLint Frames = 0;
|
static GLint Frames = 0;
|
||||||
static GLint autoexit = 0;
|
static GLint autoexit = 0;
|
||||||
@ -252,7 +252,6 @@ static void update_idle_func(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* change view angle, exit upon ESC */
|
/* change view angle, exit upon ESC */
|
||||||
/* ARGSUSED1 */
|
|
||||||
static void key(unsigned char k, int, int) {
|
static void key(unsigned char k, int, int) {
|
||||||
switch (k) {
|
switch (k) {
|
||||||
case 'z':
|
case 'z':
|
||||||
@ -282,7 +281,6 @@ static void key(unsigned char k, int, int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* change view angle */
|
/* change view angle */
|
||||||
/* ARGSUSED1 */
|
|
||||||
static void special(int k, int, int) {
|
static void special(int k, int, int) {
|
||||||
switch (k) {
|
switch (k) {
|
||||||
case GLUT_KEY_UP:
|
case GLUT_KEY_UP:
|
||||||
|
Loading…
Reference in New Issue
Block a user