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

GPROTY - Rotate Y

GPROTY (angle, matrix)


Use GPROTY to calculate a rotation matrix around the y-axis using a given angle of rotation.


angle -- specified by user, short floating-point number

Rotation angle in radians.

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


Related Subroutines


RCP code

201330950 (X'0C001106')

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