标题: 如何转动object? [打印本页] 作者: DEEPMOON 时间: 2005-10-9 17:10 标题: 如何转动object? Returns a matrix to perform a rotation around an arbitrary axis.
Return: void
Environment: Internal & External
See Also:
History:
*******************************************************************************/
extern UFUNEXPORT void FTN(uf5945)(
double *rp1, /* <I>
Origin Of The Axis - Absolute Coordinates
*/
double *rp2, /* <I>
Direction Vector - Absolute Coordinates
*/
double *rp3, /* <I>
Rotation Angle In Degrees
*/
double *rr4, /* <O>
Rotation Matrix. This must be declared to hold
16 doubles.
*/
int *ir5 /* <O>
Status Code
0 - Success
1 - Direction Vector Is A Zero Vector
*/
);
这个Direction Vector 和 Rotation Angle In Degrees是要怎么加参数啊,是个几维数组?
一点介绍都不写,实在是找不到了~作者: henry14 时间: 2005-10-15 15:07
Direction Vector 是一个double型的三维数组,代表x,y,z轴,Rotation Angle In Degrees是
angle * 180.0 / PI,作者: DEEPMOON 时间: 2005-10-15 15:24
henry,thanks a lot~