/* Public domain */ typedef struct sg_polyball { struct sg_object _inherit; Uint flags; #define SG_POLYBALL_VIEWLOD 0x01 /* Use view-dependent subdiv */ int subdiv; /* Subdivision level */ } SG_Polyball; __BEGIN_DECLS extern SG_NodeClass sgPolyballClass; SG_Polyball *SG_PolyballNew(void *, const char *, const M_Sphere *); void SG_PolyballSetSubdiv(SG_Polyball *, int); __END_DECLS