00001 #ifndef GRSPHERE_H
00002 #define GRSPHERE_H
00003
00004 #include "GRVisual.h"
00005 #include "GRMaterial.h"
00006
00007 namespace Spr {;
00008
00009
00010 class SPR_DLL GRSphere:public SGObject{
00011 public:
00012 float radius;
00013 DWORD slices;
00014 DWORD stacks;
00015 UTRef<GRMaterial> material;
00016 SGOBJECTDEF(GRSphere);
00017
00018 virtual bool AddChildObject(SGObject* obj, SGScene* s);
00019
00020 virtual size_t NChildObjects();
00021
00022 virtual SGObject* ChildObject(size_t i);
00023 };
00024
00025 }
00026 #endif