ftp.nice.ch/pub/next/graphics/3d/geomview.1.4.1.s.tar.gz#/Geomview/src/lib/gprim/discgrp/dgmisc.c

This is dgmisc.c in view mode; [Download] [Up]

#include "discgrpP.h"

DiscGrpHandleScan( DiscGrp *dg, int (*func)(), void *arg )
{
    if(dg == NULL)
	return;

    if(dg->geomhandle)
	(*func)(&dg->geomhandle, dg, arg);
    if(dg->ddgeomhandle)
	(*func)(&dg->ddgeomhandle, dg, arg);
    if(dg->camgeomhandle)
	(*func)(&dg->camgeomhandle, dg, arg);

    if(dg->geom)
	GeomHandleScan(dg->geom, func, arg);
    if(dg->ddgeom)
	GeomHandleScan(dg->ddgeom, func, arg);
    if(dg->camgeom)
	GeomHandleScan(dg->camgeom, func, arg);
}


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.