GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
vpGetMatrix(3) FreeBSD Library Functions Manual vpGetMatrix(3)

vpGetMatrix - retrieve the contents of a transformation matrix

#include <volpack.h>

vpResult

vpGetMatrix(vpc, matrix_code, matrix)

vpContext *vpc;
int matrix_code;
vpMatrix4 matrix;

vpc
VolPack context from vpCreateContext.
matrix_code
A code specifying one of the VolPack transformation matrices (VP_MODEL, VP_VIEW, VP_PROJECT or VP_SCREEN).
matrix
Matrix for storing the result.

vpGetMatrix retrieves the contents of one of the transformation matrices (see vpCurrentMatrix(3)). The special code VP_SCREEN causes the function to compute the transformation from object coordinates to image coordinates and return a matrix describing this transformation.

The normal return value is VP_OK. The following error return value is possible:
VPERROR_BAD_OPTION
The matrix_code argument is invalid.

VolPack(3), vpCreateContext(3), vpCurrentMatrix(3)
VolPack

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.