home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
src
/
lib
/
gprim
/
quad
/
quadsphere.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-02-17
|
336 b
|
16 lines
#include "geom.h"
#include "create.h"
#include "quadP.h"
Geom *QuadSphere(quad, T, space)
Quad *quad;
Transform T;
int space;
{
Geom *sphere;
sphere = GeomCreate("sphere", CR_ENCOMPASS_POINTS, quad->p,
CR_NENCOMPASS_POINTS, quad->maxquad * 4,
CR_AXIS, T, CR_SPACE, space, CR_END);
return sphere;
}