R3ObjectCreate

FUNCTION:

R3ObjectCreate

TEMPLATE:

void *R3ObjectCreate(int classid, ...);

PARAMETERS:

classid - class identifier

RETURN VALUE:

Address of the created object if succeeded, otherwise NULL

DESCRIPTION:

Creates an instance of given class. The created instance (object) is initialized according to the attributes passed to a function as a tag list.

EXAMPLE:
 sphere = R3ObjectCreate(R3CLID_SPHERE,
 R3RA_Name, "mysphere",
 R3SPHA_Center, ¢er,
 R3SPHA_Radius, &radius,
 R3TAG_END);