callobj(3G)callobj(3G)NAMEcallobj - draws an instance of an object
C SPECIFICATION
void callobj(obj)
Object obj;
PARAMETERS
obj expects the object identifier of the object that you want to draw.
DESCRIPTIONcallobj draws an instance of a previously defined object. If callobj
specifies an undefined object, the system ignores the routine.
Global state attributes are not saved before a call to callobj. Thus, if
you change a variable within an object, such as color, the change can
affect the caller as well. Use pushattributes and popattributes to
preserve global state attributes across callobj calls.
Likewise, the object may execute transformations that change the matrix
stack, so you may want to use pushmatrix and popmatrix to restore the
state of the matrix stack.
SEE ALSO
makeobj, popattributes, pushattributes, pushmatrix, popmatrix
Page 1