GEOMETRY (geometry) functions


LIBRARY ROUTINE

lgcreate2dtex - take an "image" and create a 2d texture for use by renderers,etc. in the GEOMETRY toolbox.

LIBRARY CALL

int lgcreate2dtex(kobject inobj,
		  kgeom_object *outobj,
		  float *tc,
		  int method)

INPUT

OUTPUT

RETURN VALUE

CHILL on success, WHACKED otherwise

DESCRIPTION

provide a routine which will convert an arbitrary image into a 2d "texture"

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

Restrictions on data or input as applicable

MODIFICATION

none

FILES

$GEOMETRY/objects/library/geometry/src/lgcreate2dtex.c

SEE ALSO

geometry(3)

COPYRIGHT

Copyright (C) 1996,1997 , The Regents of the University of California. All rights reserved.