#include <gauge3d/graphics/spheremodel.h>
Inherits GAUGE3D::GModel.
Public Types | |
typedef GSmartPointer<SphereModelAnimState> | pSphereModelAnimState |
Public Methods | |
GSphereModel () | |
virtual | ~GSphereModel () |
virtual pAnimState | CreateAnimState () |
Generates an AnimState object associated with this model. | |
pRenderInfo | CreateRenderInfo () |
Create a RenderInfo bound to this model. More... | |
Friends | |
class | SphereModelAnimState |
GSphereModel is a derivative of GModel. You can use it to display spheres. The sphere is of the geodesic type, which makes it look pretty.
Note that you cannot set the radius of the sphere; it is always 1.0. You can, however, give GSprite a scale factor, which will cause the sphere to be drawn with a radius equal to that factor.
|
Create a RenderInfo bound to this model.
Reimplemented from GAUGE3D::GModel. |