CFlag
This object allow you to draw very
easily and quickly a flag into your 3D scene, to
draw teams banner or to simulate a water effect (the
last one isn't recommended because of performance
problems if you don't write things well).
See the class
CFlag (public part) :
int |
InitFlag(char *texture); |
void |
DrawFlag(); |
InitFlag()
will return 1 on success and 0 on error, I think I
don't need to explain more :), and the DrawFlag()
method, each time you'll call it, it'll draw the
flag and modify its data, so like that, the next
time you'll call it, it'll be drawn modified, and so
on...

A little
example of what it does.
|