kmath
0.3.1-dev-RC
common
kmath-geometry
/
space.kscience.kmath.geometry
/
fromRotation
from
Rotation
fun
Quaternion.Companion
.
fromRotation
(
theta
:
Angle
,
vector
:
DoubleVector3D
)
:
Quaternion
(
source
)
Create a normalized Quaternion from rotation angle and rotation vector