Added simple collision detection.

This commit is contained in:
sjbaker
2006-10-01 03:45:08 +00:00
parent 2aaab1ab1a
commit 9ebc440ee5
5 changed files with 329 additions and 153 deletions

View File

@@ -73,7 +73,10 @@ public:
glBindTexture ( GL_TEXTURE_2D, textureHandle ) ;
}
void paint () ;
void prepare ( bool clear = false ) ;
void fill () ;
void paint ( bool clear = false ) { prepare ( clear ) ; fill () ; }
void fillTexture ( float *data ) ;
void fillTexture ( unsigned short *data ) ;