pfGLMatrix(3pf) OpenGL Performer 3.2.2 libpr C++ Reference Pages
NAME
pfScale, pfTranslate, pfRotate, pfPushMatrix, pfPushIdentMatrix,
pfPopMatrix, pfLoadMatrix, pfMultMatrix - Operate on graphics library
matrix stack
FUNCTION SPECIFICATION
#include <Performer/pr.h>
void pfScale(float x, float y, float z);
void pfTranslate(float x, float y, float z);
void pfRotate(int axis, float degrees);
void pfPushMatrix(void);
void pfPushIdentMatrix(void);
void pfPopMatrix(void);
void pfLoadMatrix(pfMatrix m);
void pfMultMatrix(pfMatrix m);
DESCRIPTION
These functions are similar to the corresponding OpenGL graphics library
matrix stack commands. The only difference is that these OpenGL
Performer commands may be applied to and retained in a pfDispList for
subsequent activation.
pfRotate accepts the values PF_X, PF_Y, and PF_Z to select the axis of
rotation.
pfPushIdentMatrix is equivalent to calling pfPushMatrix followed with a
call to pfLoadMatrix with an identity matrix.
These routines are all display-listable commands. If a pfDispList has
been opened by pfDispList::open, these commands will not have immediate
effect but will be captured by the pfDispList and will only have effect
when that pfDispList is later drawn with pfDispList::draw.
SEE ALSO
loadmatrix, multmatrix, popmatrix, pushmatrix, rot, scale, translate
Page 1