init


Description:

public unowned Quaternion? init (float x, float y, float z, float w)

Initializes a Quaternion using the given four values.

Parameters:

this

a Quaternion

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

Returns:

the initialized quaternion