home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
graphics
/
a090_1
/
h
/
shape
< prev
Wrap
Text File
|
1992-04-12
|
679b
|
22 lines
/**** shape.h ****/
/* Program to create various shapes for Euclid */
/* By Paul Field
* See !ReadMe file for distribution/modification restrictions
*/
/* Not a very interesting module yet; the only shape is the cube */
#ifndef __shape_h
#define __shape_h
#include "euclid.h"
os_error *shape_makecube(euclid_header *h, unsigned int size, euclid_solid **cube);
/* Creates a cubes with edges of length 'side' centred around the origin.
* If 'side' is an odd number then the length of the sides is actually side-1
* (so that the cube is perfectly centred).
* side should be less than 30000.
* If there is an error it is returned and '*cube' is undefined.
*/
#endif