Appearance
KBE3D / KBCore / Cesium / Transforms / rotationMatrixFromPositionVelocity
函数: rotationMatrixFromPositionVelocity()
rotationMatrixFromPositionVelocity(
position:Cartesian3,velocity:Cartesian3,ellipsoid?:Ellipsoid,result?:Matrix3):Matrix3
Transform a position and velocity to a rotation matrix.
参数
position
The position to transform.
velocity
The velocity vector to transform.
ellipsoid?
The ellipsoid whose fixed frame is used in the transformation.
result?
The object onto which to store the result.
返回
The modified result parameter or a new Matrix3 instance if none was provided.
