Quaternion.from_data

classmethod Quaternion.from_data(data)

Construct a quaternion from a data dict.

Parameters

data (dict) – The data dictionary.

Returns

Quaternion – The constructed quaternion.

Examples

>>>