Quaternion.init_

graphene.quaternion.Quaternion init_(float x, float y, float z, float w)

Initializes a #graphene_quaternion_t using the given four values.

Parameters

xthe first component of the quaternion
ythe second component of the quaternion
zthe third component of the quaternion
wthe fourth component of the quaternion

Returns

the initialized quaternion