GEOMETRY (geometry) functions


LIBRARY ROUTINE

lgtransform - perform geometric transformation upon the vertex (and possibly normals) data in a geom object.

LIBRARY CALL

int lgtransform(kgeom_object *geom,
		float *scale,
		float *trans,
		int do_normals)

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

To facilitate arbitrary transformations of geometry.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

Restrictions on data or input as applicable radii of spheres are not altered in this version of code - only the vertex data.

MODIFICATION

none

FILES

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

SEE ALSO

geometry(3)

COPYRIGHT

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