|
Quaternion Constructor (Vector3, Double)
|
Initializes a new instance of the
Quaternion struct.
Constructs a Quaternion from the given vector and rotation parts.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic Quaternion(
Vector3 vectorPart,
double scalarPart
)
Public Sub New (
vectorPart As Vector3,
scalarPart As Double
)
public:
Quaternion(
Vector3 vectorPart,
double scalarPart
)
new :
vectorPart : Vector3 *
scalarPart : float -> Quaternion
Parameters
- vectorPart
- Type: Karamba.GeometryVector3
The vector part of the Quaternion. - scalarPart
- Type: SystemDouble
The rotation part of the Quaternion.
See Also