1b468b8c22
The idea is to use OpenGL and some simple C code to display a 3D cube. With the mouse you can define which LED should be on or off on a particular frame. With this technique, you can define whole sequences of frames to form animations.
12 lines
216 B
C
12 lines
216 B
C
#ifndef _INPUT_H
|
|
#define _INPUT_H
|
|
|
|
void moveCameraPosition(float direction);
|
|
void moveCameraAngle(float angle);
|
|
|
|
void keyboard(unsigned char key, int x, int y);
|
|
void keyboard_special(int key, int x, int y);
|
|
|
|
#endif
|
|
|