Function
NumCosmoMathQuaternionnew_from_data
Declaration [src]
NcmQuaternion*
ncm_quaternion_new_from_data (
gdouble x,
gdouble y,
gdouble z,
gdouble theta
)
Description [src]
Creates a new NcmQuaternion from the given components.
See ncm_quaternion_set_from_data() for details.
Parameters
x-
Type:
gdoubleThe x-component.
y-
Type:
gdoubleThe y-component.
z-
Type:
gdoubleThe z-component.
theta-
Type:
gdoubleThe angle.
Return value
Type: NcmQuaternion
A new NcmQuaternion.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |