Stg::Model::Flag Class Reference
#include <stage.hh>
Public Member Functions | |
void | Draw (GLUquadric *quadric) |
Flag (const Color &color, double size) | |
Color | GetColor () |
double | GetSize () |
Flag * | Nibble (double portion) |
void | SetColor (const Color &col) |
void | SetSize (double sz) |
Constructor & Destructor Documentation
Model::Flag::Flag | ( | const Color & | color, |
double | size | ||
) |
Member Function Documentation
void Model::Flag::Draw | ( | GLUquadric * | quadric | ) |
Draw the flag in OpenGl. Takes a quadric parameter to save
creating the quadric for each flag
|
inline |
|
inline |
Model::Flag * Model::Flag::Nibble | ( | double | portion | ) |
void Model::Flag::SetColor | ( | const Color & | col | ) |
void Model::Flag::SetSize | ( | double | sz | ) |
The documentation for this class was generated from the following files:
Generated on Wed Mar 13 2013 15:35:00 for Stage by
