1 #include "../../include/Draw.h" 5 void reshape(
int w,
int h){
11 void MouseMove(
int x,
int y){
14 void mouse(
int button,
int state,
int x,
int y){
15 Dr->
Dmouse(button,state,x,y);
17 void special(
int k,
int x,
int y){
21 void ParticleRealTime(){}
23 void keyboard(
unsigned char key,
int x,
int y){
37 int main(
int argc,
char** argv){
41 sprintf(nome,
"%s",argv[1]);
50 int main(
int argc,
char** argv){
51 printf(
"OpenGL not supported\n");
void DMouseMove(int x, int y)
How the scene rotate (Camera view should be implemented)
void Dreshape(int w, int h)
Principal reshape function.
Draw provides the basic configuration of the openGL libraries used in every derived program...
void DFigure(void)
Definition of the scene on which the objects will be drawn.
void Dspecial(int k, int x, int y)
Boh.
void keyboardDraw(unsigned char key)
Combines the key with the functions.
void DTimer(int v)
Not working.
int OpenImage(const char *FileName)
Open a image to be store in pixel.
void Draw1(void)
A scene for debugging.
void Transform()
Transform the system coordinates.
void Window(int argc, char **argv)
Initial definition of the window.
void Dmouse(int button, int state, int x, int y)
To launch the menu.