|
||
void RotateX(double degrees); void RotateY(double degrees); void RotateZ(double degrees);
double degrees; // A double-precision floating-point rotation angle
|
|
|
Synopsis |
Using SilverSharp;
The Rotate methods post-multiply a matrix that rotates about a coordinate axis. RotateX rotates about the x-axis, RotateY rotates about the y-axis, and RotateZ rotates about the z-axis.
|
|
Parameters |
degrees is a rotation angle specified in degrees
|
|
Return Value |
none
|
|
Remarks |
This method post-multiplies a rotation matrix into the SilverSharp.MATRIX object. This means it adds the work of the rotation to the transformation.
|
|
See Also |
MATRIX, tm_rotate_x, tm_rotate_y, tm_rotate_z
|
|
Example |
See the Translate method for an example |
|