Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //This example program is created by thecplusplusuy for demonstration purposes. It's a simple 3D FPS camera:
- //http://www.youtube.com/user/thecplusplusguy
- //Free source, modify if you want, LGPL licence (I guess), I would be happy, if you would not delete the link
- //so other people can see the tutorial
- //this file is functions.h, it's contain the function prototypes for the camera
- #include <SDL/SDL.h>
- #include <GL/gl.h>
- #include <GL/glu.h>
- #include <cstdlib>
- #include <fstream>
- #include <cstdio>
- #include <iostream>
- #include <cmath>
- #ifndef FUNCTION_H
- #define FUNCTION_H
- void drawCube(float size);
- void lockCamera();
- void moveCamera(float,float);
- void moveCamerraUp(float,float);
- void Control(float,float,bool);
- void UpdateCamera();
- #endif
Advertisement
Add Comment
Please, Sign In to add comment