RotationX, RotationY, RotationZ

Computes the 4x4 matrix of the rotation around the x, y, or z axis.

Syntax

IppStatus ippmRotationX_m4_32f (Ipp32f angle, Ipp32f* pDst);

IppStatus ippmRotationY_m4_32f (Ipp32f angle, Ipp32f* pDst);

IppStatus ippmRotationZ_m4_32f (Ipp32f angle, Ipp32f* pDst);

Parameters

angle
Rotation angle.
pDst
Pointer to the rotation matrix dst.

Description

The functions ippmRotationX_m4_32f, ippmRotationY_m4_32f, and ippmRotationZ_m4_32f are declared in the ippm.h file. These functions compute the 4x4 rotation matrix for the given angle, as follows:

The ippmRotationX_m4_32f, ippmRotationY_m4_32f, and ippmRotationZ_m4_32f functions compute the matrix for the rotation around the x, y, and z axes, respectively.

Return Values

ippStsNoErr

Indicates no error.

See Also


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.