spacer spacer spacer
spacer spacer spacer
spacer
NASA Logo - Jet Propulsion Laboratory    + View the NASA Portal
spacer
JPL Home Earth Solar System Stars & Galaxies Technology
ParVox Parallel Volume Rendering System
ParVox Home ../Images & Animations ParVox Document Download Source PAT Home Section 387 Division 38
spacer
spacer spacer spacer
spacer

vlrotate


NAME

    vlrotate   -  Multiple the current matrix by a general scaling matrix

SYNOPSIS

    #include <parvox.h>

    void vlrotate(float angle, float* x, float* y, float* z);


DESCRIPTION

    vlrotate() computes a matrix that performs a counterclockwise rotation of angle degree about the vector from the origin through the point (x, y, z).  The current matrix could be either the modelview matrix or the projection matrix, set earlier by vlmatrix_mode().  The current matrix is multiplied by this rotation matrix, with the product replacing the current matrix.


SEE ALSO

    vlmatrix_mode, vlload_identity, vlscale, vltranslate


 BACK TO INDEX
spacer
spacer spacer spacer
spacer
Privacy / Copyrights FAQ Contact JPL Sitemap
spacer
spacer spacer spacer
spacer
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/public/ParVox/API/vlrotate.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 16:57:04 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech