init

fun init(    x: <Error class: unknown class>,     y: <Error class: unknown class>,     z: <Error class: unknown class>,     w: <Error class: unknown class>): Quaternion(source)

Initializes a #graphene_quaternion_t using the given four values.

Return

the initialized quaternion

Since

1.0

Parameters

x

the first component of the quaternion

y

the second component of the quaternion

z

the third component of the quaternion

w

the fourth component of the quaternion