|
Returns the matrix which can be used to rotate about a point
& S2 H; F5 H7 S
. T* H/ ^9 T$ w' pEnvironment: Internal and External
& W+ T4 T( U) o: e' DSee Also:
- D3 X* f/ ^, I1 |) b
3 @2 V. B) T+ B3 F7 \History: Originally released in V16.0
% ~- p# w2 s$ g7 N5 Z D% L******************************************************************************/
l/ p4 N+ u7 b9 f6 Gextern UFUNEXPORT int UF_MTX4_rotation(
8 n: y8 u* z' q( @: Z& Y( I
7 \4 F- U6 `' n! }; A4 C7 h const double rotation_point[3], /* <I>; {4 Y; X* @+ {6 R
Point about which the rotation is to
+ ]* y( @5 d; Z+ g) @4 _ be performed.
* `) D6 g1 g% O' q( z) W */
! z( F/ d, ~: X: f const double rotation_axis[3], /* <I>
! P5 F5 Q0 B) p+ H* n, W1 q Axis about which rotation to occur.
& [! o: [7 h* D& L5 K */ ) p0 p4 I7 m* c8 m; s
const double angle, /* <I>
5 Z. L$ j+ l0 o( m, Y2 d rotation angle in degrees / B7 w3 L/ V9 T1 v% \" `/ R
*/# V! m* h' b m0 l/ I# A
double mtx[16] /* <O>
' I( Y7 f9 m9 }" h# }; P% @ returned matrix that can be used to9 X) Q% ?2 S( x& N8 @/ P
tranform objects
5 g& y9 P. j0 e4 M */1 z+ V' s( j, M8 i3 D
); |
|