/* Public domain */ typedef struct sg_point { struct sg_geom _inherit; float size; } SG_Point; #define SGPOINT(n) ((SG_Point *)(n)) __BEGIN_DECLS extern SG_NodeClass sgPointClass; SG_Point *_Nonnull SG_PointNew(void *_Nullable, const char *_Nullable, const M_Vector3 *_Nullable); void SG_PointSize(void *_Nonnull, M_Real); #define SG_PointColor(pt,c) SG_GeomColor(SGGEOM(pt),(c)) __END_DECLS