[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]

*The graPHIGS Programming Interface : Subroutine Reference*

## GPSC3 - Scale 3

**Purpose**

Use
**GPSC3**
to calculate a three-dimensional scaling matrix
using a given three-dimensional vector containing
*x*,
*y*,
*z* scale factors.

**Parameters**

*scale* -- specified by user,
3 short floating-point numbers
Scale factors for
*x*,
*y*,
*z* directions.
*matrix* -- returned by the graPHIGS API,
16 short floating-point numbers
Transformation matrix.
The elements are returned in the following order
for the transformation matrix:

|m11 m12 m13 m14|
|m21 m22 m23 m24| ---> (m11,m12,m13,m14,m21,m22,...m44)
|m31 m32 m33 m34|
|m41 m42 m43 m44|

**Error Codes**

None

**Related Subroutines**

None

**RCP code**

201330947
(X'0C001103')

[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]