mini-led-cube/editor/src/display.h
Aaron Mueller 37e885f02e Add the picking feature.
We can now select a LED on the screen and get the index of the LED.
To get the right index, we use the color picking technique mentioned
in the OpenGL RedBook. This works suprisingly pretty well (and fast!).
2011-10-30 23:55:53 +01:00

15 lines
174 B
C

#ifndef _DISPLAY_H
#define _DISPLAY_H
void drawLEDs(int orientation, int mode);
void drawWires();
void display();
void displayPickingObjects();
void setScene();
#endif