Changes:
- fixed some bugs
- improved view control
- added show/hide of objects
- added wireframe/rendered
- added fog (needs testing!!!)
1 parent cf2787f commit 00dfdb20ed7feaed624d45c6ffe50e977ba0a677
@glproj03 glproj03 authored on 31 Jan 2006
Showing 7 changed files
View
3
■■
include/animation.h
int mouseX;
int mouseY;
float speed;
int current;
int colorpt;
std::vector<Color*> colors;
std::vector<Thing*> things;
int kbdlock;
bool showNormals;
bool showMe;
UserAnimation();
UserAnimation(Thing* t);
UserAnimation(std::vector<Thing*> ths);
void addThing(Thing* t);
void addColor(Color* t);
void init();
void tick();
};
 
View
5
include/model.h
Vec* position;
Vec* rotation;
 
float delta;
 
bool drawMe;
 
public:
Model();
Model(std::vector<Poly*> & _faces);
float getDelta();
void showNormals();
void hideNormals();
Model* clone();
void setColor(Color* c);
void show();
void hide();
};
#endif
View
include/thing.h
View
sources/animation.cpp
View
sources/main.cpp
View
sources/model.cpp
View
sources/thing.cpp