Bioplib
Protein Structure C Library
|
Simple matrix and vector operations. More...
Go to the source code of this file.
Functions | |
void | blCreateRotMat (char direction, REAL angle, REAL matrix[3][3]) |
Simple matrix and vector operations.
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
Definition in file CreateRotMat.c.
[in] | direction | Axis about which to rotate |
[in] | angle | Angle (in rads) to rotate |
[out] | matrix | Rotation matrix |
Create a 3x3 rotation matrix. Takes a direction as a single character ('x', 'y', or 'z'), an angle (in rads) and outputs a rotation matrix
Definition at line 101 of file CreateRotMat.c.