1vpMultMatrix(3)            Library Functions Manual            vpMultMatrix(3)
2
3
4

NAME

6       vpMultMatrix  -  multiply  the current transformation matrix by another
7       matrix
8

SYNOPSIS

10       #include <volpack.h>
11
12       vpResult
13       vpMultMatrix(vpc, m)
14           vpContext *vpc;
15           vpMatrix4 m;
16

ARGUMENTS

18       vpc    VolPack context from vpCreateContext.
19
20       m      Input matrix.
21

DESCRIPTION

23       vpMultMatrix is used to multiply the current transformation  matrix  by
24       an  arbitrary 4-by-4 transformation matrix.  Use vpCurrentMatrix to set
25       the current transformation matrix.  By default, the matrix is post-mul‐
26       tiplied (N = N*m where N is the current matrix and m is the argument to
27       vpMultMatrix).  The VP_CONCAT_MODE option to  vpSeti  can  be  used  to
28       select pre-multiplication.
29

STATE VARIABLES

31       The  current  matrix concatenation parameters can be retrieved with the
32       following state  variable  codes  (see  vpGeti(3)):  VP_CURRENT_MATRIX,
33       VP_CONCAT_MODE.
34

ERRORS

36       The return value is always VP_OK.
37

SEE ALSO

39       VolPack(3), vpCreateContext(3), vpCurrentMatrix(3)
40
41
42
43VolPack                                                        vpMultMatrix(3)
Impressum