R3GetAttrs

FUNCTION:

R3GetAttrs

TEMPLATE:

int R3GetAttrs(void *obj, ,,,)

PARAMETERS:

obj - object whose attributes needs to be fetched

RETURN VALUE:

NULL if all attributes were recognized by the object, Otherwise, the address of the first unrecognized tag is returned.

DESCRIPTION:

Fetches attributes defined by the tag list from the given object.

EXAMPLE:
 R3VECTOR center;
 R3FLOAT radius;

 R3GetAttrs(sphere,
 R3SPHA_Center, ¢er,
 R3SPHA_Radius, &radius,
 R3TAG_END);