swf_lookat
Define a viewing transformation
Description
voidswf_lookat
floatview_x
floatview_y
floatview_z
floatreference_x
floatreference_y
floatreference_z
floattwist
The swf_lookat function defines a viewing
transformation by giving the viewing position (the parameters
view_x, view_y, and
view_z) and the coordinates of a reference
point in the scene, the reference point is defined by the
reference_x, reference_y
, and reference_z parameters.
The twist controls the rotation along
with viewer's z axis.