|
Returns the matrix which can be used to rotate about a point/ k! l; r+ Z7 J: Q. Q# h" v) ~" L( ?; D
+ ]# i& I( E AEnvironment: Internal and External+ F# K5 j7 W% W- H
See Also: , s9 C& g @: g# W5 X# }
2 u9 l2 e# S) }; A) i8 V0 ?
History: Originally released in V16.0" i$ P! _- F# |1 G: h
******************************************************************************/$ p4 M8 J l# t2 B1 u a& [2 P
extern UFUNEXPORT int UF_MTX4_rotation(3 |. V9 t p! l4 D( Z& T3 f
" R) u n% U O( X4 K const double rotation_point[3], /* <I>
1 l% w8 d& n K0 }0 t: K$ M* k/ F. Z Point about which the rotation is to, H# D2 h, [6 k+ ]. W4 }2 R
be performed.
+ F1 [0 Q' K( Y0 |8 a3 x */
/ E9 O4 O9 A9 D! D. E: \ const double rotation_axis[3], /* <I>
# r# Z: E$ A! t& R$ ~5 A6 t8 q Axis about which rotation to occur.# u) S" d) E; i. I9 k: _$ S
*/ ) J; l) D4 a9 \5 M
const double angle, /* <I>
; l( V. T3 s) i9 _+ s3 z2 I rotation angle in degrees ) M" d' l: _0 n- U: ?* x
*/
& }2 t' O9 d% M; x( q double mtx[16] /* <O>1 C/ C, B- O( B( i
returned matrix that can be used to% z3 R" b+ e. A. _. ]" C
tranform objects
) a; y3 K- @1 E! ?( c! b */
" s% I7 T. i3 c+ I- X) J); |
|