[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPCMT2 - Compose Matrix 2

GPCMT2 (matra, matrb, matrix)

Purpose

Use GPCMT2 to perform a 33 matrix multiplication and return the result.

Transformation Matrix A (matra) Transformation Matrix B (matrb) is computed and returned in matrix

For this task, the elements of the transformation matrixes are passed in the following order:

             
  |m11 m12 m13|
  |m21 m22 m23|---> (m11,m12,m13,m21....m33)
  |m31 m32 m33|
             

Parameters

matra -- specified by user, 9 short floating-point numbers

Transformation matrix A.

matrb -- specified by user, 9 short floating-point numbers

Transformation matrix B.

matrix -- returned by the graPHIGS API, 9 short floating-point numbers

Composed transformation matrix.

Error Codes

None

Related Subroutines

None

RCP code

201330955 (X'0C00110B')


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