跳到主要内容

KQuaternion.getAxis() method

获取旋转轴。如果旋转角度是零的话,返回一个各分量为零的旋转轴。

返回旋转轴。

The axis of rotation (normalized); return a zero vector if angle of rotation is zero.

Signature:

getAxis(): KVector3d;

Links: getAxis(): KVector3d;

Returns:

KVector3d