PEXtRotateX(3PEXt)

NAME
PEXtRotate, PEXtRotateX, PEXtRotateY, PEXtRotateZ — compose a rotation matrix as a local transform structure element

SYNOPSIS
#include <PEXt/PEXt.h>
#include <PEXt/Structure.h>

void PEXtRotate (angle, composition)
    Pfloat    angle;
    Pcompose_type    composition;

void PEXtRotateX (angle, composition)
    Pfloat    angle;
    Pcomp_type    composition;

void PEXtRotateY (angle, composition)
    Pfloat    angle;
    Pcomp_type    composition;

void PEXtRotateZ (angle, composition)
    Pfloat    angle;
    Pcomp_type    composition;

  Required PHIGS Operating States
(PHOP, *, STOP, *)

DESCRIPTION
These convenience procedures create rotation matrices using the PHIGS functions protate, protate_x, protate_y, protate_z, respectively. The resulting matrix appears as a SET LOCAL TRANSFORMATION 3 (SET LOCAL TRANSFORMATION in the case of PEXtRotate) structure element with the given composition. If the current edit mode is set to PINSERT, then the matrix is inserted into the currently open structure. If the current edit mode is set to PREPLACE, then the matrix replaces the current structure element in the currently open structure.

RETURN VALUE
None

SEE ALSO
PEXtTranslate(3)
PEXtNonUniformScale(3)
PEXtBuildTran(3)
protate(3)
protate_x(3)
protate_y(3)
protate_z(3)

AUTHOR
Rich Thomson <rthomson@dsd.es.com>
Design Systems Division
Evans & Sutherland Computer Corporation