|
Returns the matrix which can be used to rotate about a point5 R/ W% R5 o h9 ]* F3 ^
/ i. w3 @, ?4 A1 t/ Q! n) }7 m; A- lEnvironment: Internal and External
9 f% I8 T& |3 {8 Q6 y* MSee Also: ( o, z- z) h1 p! p% |
1 u# T( h" y/ J( A$ ]* ^) @9 [& \2 p
History: Originally released in V16.0
4 e3 r S% E3 F1 U******************************************************************************/2 d- {2 P0 y$ K% x( V: H
extern UFUNEXPORT int UF_MTX4_rotation(
& S+ h. l2 T; j. p& c$ g5 X7 {- `- X* I1 U0 |! U* O. a" _8 q
const double rotation_point[3], /* <I>
% \( Q7 z0 K4 Y5 C2 |4 v Point about which the rotation is to/ x1 }0 G; O% {, l
be performed.
7 ?9 K) x& E T, l \) l */
4 e' j" o% \' y5 x) B' _ W+ \ const double rotation_axis[3], /* <I>
# f6 _( F8 ?5 f0 O: O5 E8 t# }5 E$ O: e Axis about which rotation to occur.
9 @& `5 O* X- U! ?1 p& N' M" | */ W8 |+ f! m9 m! }7 Z
const double angle, /* <I>
; z, q( A0 g6 Q$ z7 c3 u& E rotation angle in degrees ( g6 E0 P7 I6 k
*/) ~" k/ L5 V6 a" D* B- m3 F
double mtx[16] /* <O>/ B$ p% I) G! s: S3 G2 {/ e) E
returned matrix that can be used to
7 J% G3 M! d" V5 D tranform objects 8 g4 s, ^% i6 i; f# m
*/* T: Z! H+ Y8 s+ Z+ m2 z4 O
); |
|