
#ifndef lint
static  char sccsid[] = "@(#)poligons.c 1.1 94/10/31 Copyr 1990 Sun Micro";
#endif

/*
 * Copyright (c) 1990 by Sun Microsystems, Inc.
 */

#include <stdio.h>
#include <sdrtns.h>     /* sdrtns.h should always be included */
#include <esd.h>

extern char *gpsi_3D_poligons();

static char *errmsg;

/**********************************************************************/
char *
poligons()
/**********************************************************************/
/* tests poligons generation capability */

{
    func_name = "poligons";
    TRACE_IN

    if(!open_gp()) {
	TRACE_OUT
	return(errmsg_list[1]);
    }

    errmsg = gpsi_3D_poligons();
    if (errmsg) {
	TRACE_OUT
	return(errmsg);
    }

    TRACE_OUT
    return(char *)0;
}
