mini-led-cube/editor/src/config.h
Aaron Mueller 1b468b8c22 Start implementing a 3D GUI to configure the cube.
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.
2011-10-19 01:10:15 +02:00

21 lines
297 B
C

#ifndef _CONFIG_H
#define _CONFIG_H
#define WINDOW_WIDTH 800
#define WINDOW_HEIGHT 600
#define CUBE_SIZE 30
#define MOVE_SPEED 5
#define PI 3.14159265
// Materials
extern float ledOnMaterial[];
// Movement
extern float lookX, lookZ;
extern float eyePos, eyeAngle;
#endif