Previous Next Up Title Contents Index Functions Index Top Library

SCALE 3

PSC3


CALL SEQUENCE

CALL PSC3 (FX, FY, FZ, ERRIND, XFRMT)

INPUT PARAMETERS

REAL FX, FY, FZ
Real values defining the scale factor. Each value is applied individually to the X, Y, Z components.
OUTPUT PARAMETERS
INTEGER ERRIND
Error indicator
REAL XFRMT(4,4)
Resulting homogeneous 4 x 4 matrix.

PHIGS STATE

(PHOP, *, *, *).

EFFECT

Returns a homogeneous 4 x 4 matrix to be used for the 3D scaling defined by FX, FY, FZ.

The returned matrix can be used as the transformation matrix for the SET LOCAL TRANSFORMATION MATRIX 3, SET GLOBAL TRANSFORMATION MATRIX 3 and similar functions.

ERRORS

2
Ignoring function, function requires state (PHOP, *,*,*)

SEE ALSO

set global transformation 3, set local transformation 3, translate 3, rotate x, rotate y, rotate z, compose matrix 3, build transformation matrix 3, compose transformation matrix 3


Previous Next Up Title Contents Index Functions Index Top Library